OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
475 CMOV = 15, // x86 | 475 CMOV = 15, // x86 |
476 RDTSC = 4, // x86 | 476 RDTSC = 4, // x86 |
477 CPUID = 10, // x86 | 477 CPUID = 10, // x86 |
478 VFP3 = 1, // ARM | 478 VFP3 = 1, // ARM |
479 ARMv7 = 2, // ARM | 479 ARMv7 = 2, // ARM |
480 SAHF = 0, // x86 | 480 SAHF = 0, // x86 |
481 FPU = 1}; // MIPS | 481 FPU = 1}; // MIPS |
482 | 482 |
483 // The Strict Mode (ECMA-262 5th edition, 4.2.2). | 483 // The Strict Mode (ECMA-262 5th edition, 4.2.2). |
484 enum StrictModeFlag { | 484 enum StrictModeFlag { |
485 kNonStrictMode, | 485 kNonStrictMode = 0, |
Kevin Millikin (Chromium)
2011/09/01 07:58:24
I couldn't find a site where we relied on a specif
Lasse Reichstein
2011/09/01 09:26:58
Good catch. It's an artifact of a preliminary chan
| |
486 kStrictMode, | 486 kStrictMode = 1, |
487 // This value is never used, but is needed to prevent GCC 4.5 from failing | 487 // This value is never used, but is needed to prevent GCC 4.5 from failing |
488 // to compile when we assert that a flag is either kNonStrictMode or | 488 // to compile when we assert that a flag is either kNonStrictMode or |
489 // kStrictMode. | 489 // kStrictMode. |
490 kInvalidStrictFlag | 490 kInvalidStrictFlag |
491 }; | 491 }; |
492 | 492 |
493 | 493 |
494 // Used to specify if a macro instruction must perform a smi check on tagged | 494 // Used to specify if a macro instruction must perform a smi check on tagged |
495 // values. | 495 // values. |
496 enum SmiCheckType { | 496 enum SmiCheckType { |
(...skipping 15 matching lines...) Expand all Loading... | |
512 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; | 512 static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000; |
513 | 513 |
514 const uint64_t kHoleNanInt64 = | 514 const uint64_t kHoleNanInt64 = |
515 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; | 515 (static_cast<uint64_t>(kHoleNanUpper32) << 32) | kHoleNanLower32; |
516 const uint64_t kLastNonNaNInt64 = | 516 const uint64_t kLastNonNaNInt64 = |
517 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); | 517 (static_cast<uint64_t>(kNaNOrInfinityLowerBoundUpper32) << 32); |
518 | 518 |
519 } } // namespace v8::internal | 519 } } // namespace v8::internal |
520 | 520 |
521 #endif // V8_V8GLOBALS_H_ | 521 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |