OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 const int MB = KB * KB; | 225 const int MB = KB * KB; |
226 const int GB = KB * KB * KB; | 226 const int GB = KB * KB * KB; |
227 const int kMaxInt = 0x7FFFFFFF; | 227 const int kMaxInt = 0x7FFFFFFF; |
228 const int kMinInt = -kMaxInt - 1; | 228 const int kMinInt = -kMaxInt - 1; |
229 | 229 |
230 const uint32_t kMaxUInt32 = 0xFFFFFFFFu; | 230 const uint32_t kMaxUInt32 = 0xFFFFFFFFu; |
231 | 231 |
232 const int kCharSize = sizeof(char); // NOLINT | 232 const int kCharSize = sizeof(char); // NOLINT |
233 const int kShortSize = sizeof(short); // NOLINT | 233 const int kShortSize = sizeof(short); // NOLINT |
234 const int kIntSize = sizeof(int); // NOLINT | 234 const int kIntSize = sizeof(int); // NOLINT |
| 235 const int kInt32Size = sizeof(int32_t); // NOLINT |
| 236 const int kInt64Size = sizeof(int64_t); // NOLINT |
235 const int kDoubleSize = sizeof(double); // NOLINT | 237 const int kDoubleSize = sizeof(double); // NOLINT |
236 const int kIntptrSize = sizeof(intptr_t); // NOLINT | 238 const int kIntptrSize = sizeof(intptr_t); // NOLINT |
237 const int kPointerSize = sizeof(void*); // NOLINT | 239 const int kPointerSize = sizeof(void*); // NOLINT |
238 const int kRegisterSize = kPointerSize; | 240 const int kRegisterSize = kPointerSize; |
239 const int kPCOnStackSize = kRegisterSize; | 241 const int kPCOnStackSize = kRegisterSize; |
240 const int kFPOnStackSize = kRegisterSize; | 242 const int kFPOnStackSize = kRegisterSize; |
241 | 243 |
242 const int kDoubleSizeLog2 = 3; | 244 const int kDoubleSizeLog2 = 3; |
243 | 245 |
244 // Size of the state of a the random number generator. | 246 // Size of the state of a the random number generator. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 // the backend, so both modes are represented by the kStrictMode value. | 402 // the backend, so both modes are represented by the kStrictMode value. |
401 enum StrictModeFlag { | 403 enum StrictModeFlag { |
402 kNonStrictMode, | 404 kNonStrictMode, |
403 kStrictMode | 405 kStrictMode |
404 }; | 406 }; |
405 | 407 |
406 | 408 |
407 } } // namespace v8::internal | 409 } } // namespace v8::internal |
408 | 410 |
409 #endif // V8_GLOBALS_H_ | 411 #endif // V8_GLOBALS_H_ |
OLD | NEW |