| 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 SSE3 = 32 + 0, // x86 | 475 SSE3 = 32 + 0, // x86 |
| 476 SSE2 = 26, // x86 | 476 SSE2 = 26, // x86 |
| 477 CMOV = 15, // x86 | 477 CMOV = 15, // x86 |
| 478 RDTSC = 4, // x86 | 478 RDTSC = 4, // x86 |
| 479 CPUID = 10, // x86 | 479 CPUID = 10, // x86 |
| 480 VFP3 = 1, // ARM | 480 VFP3 = 1, // ARM |
| 481 ARMv7 = 2, // ARM | 481 ARMv7 = 2, // ARM |
| 482 SAHF = 0, // x86 | 482 SAHF = 0, // x86 |
| 483 FPU = 1}; // MIPS | 483 FPU = 1}; // MIPS |
| 484 | 484 |
| 485 // The Strict Mode (ECMA-262 5th edition, 4.2.2). | |
| 486 enum StrictModeFlag { | |
| 487 kNonStrictMode, | |
| 488 kStrictMode, | |
| 489 // This value is never used, but is needed to prevent GCC 4.5 from failing | |
| 490 // to compile when we assert that a flag is either kNonStrictMode or | |
| 491 // kStrictMode. | |
| 492 kInvalidStrictFlag | |
| 493 }; | |
| 494 | |
| 495 | 485 |
| 496 // Used to specify if a macro instruction must perform a smi check on tagged | 486 // Used to specify if a macro instruction must perform a smi check on tagged |
| 497 // values. | 487 // values. |
| 498 enum SmiCheckType { | 488 enum SmiCheckType { |
| 499 DONT_DO_SMI_CHECK, | 489 DONT_DO_SMI_CHECK, |
| 500 DO_SMI_CHECK | 490 DO_SMI_CHECK |
| 501 }; | 491 }; |
| 502 | 492 |
| 503 | 493 |
| 504 // Used to specify whether a receiver is implicitly or explicitly | 494 // Used to specify whether a receiver is implicitly or explicitly |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 | 552 |
| 563 enum ClearExceptionFlag { | 553 enum ClearExceptionFlag { |
| 564 KEEP_EXCEPTION, | 554 KEEP_EXCEPTION, |
| 565 CLEAR_EXCEPTION | 555 CLEAR_EXCEPTION |
| 566 }; | 556 }; |
| 567 | 557 |
| 568 | 558 |
| 569 } } // namespace v8::internal | 559 } } // namespace v8::internal |
| 570 | 560 |
| 571 #endif // V8_V8GLOBALS_H_ | 561 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |