machvalues.h 742 B

12345678910111213141516171819
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. //
  7. // Machine dependent constants.
  8. //
  9. static const int MachChar = 1;
  10. static const int MachShort = 2;
  11. static const int MachInt = 4;
  12. static const int MachRegInt = 4;
  13. static const int MachPtr = 4;
  14. static const int MachDouble = 8;
  15. static const int MachRegDouble = 8;
  16. static const int MachArgsSlotOffset = MachPtr;
  17. static const int MachStackAlignment = MachDouble;