| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 // feel free to change this if needed.) | 461 // feel free to change this if needed.) |
| 462 // On X86/X64, values below 32 are bits in EDX, values above 32 are bits in ECX. | 462 // On X86/X64, values below 32 are bits in EDX, values above 32 are bits in ECX. |
| 463 enum CpuFeature { SSE4_1 = 32 + 19, // x86 | 463 enum CpuFeature { SSE4_1 = 32 + 19, // x86 |
| 464 SSE3 = 32 + 0, // x86 | 464 SSE3 = 32 + 0, // x86 |
| 465 SSE2 = 26, // x86 | 465 SSE2 = 26, // x86 |
| 466 CMOV = 15, // x86 | 466 CMOV = 15, // x86 |
| 467 RDTSC = 4, // x86 | 467 RDTSC = 4, // x86 |
| 468 CPUID = 10, // x86 | 468 CPUID = 10, // x86 |
| 469 VFP3 = 1, // ARM | 469 VFP3 = 1, // ARM |
| 470 ARMv7 = 2, // ARM | 470 ARMv7 = 2, // ARM |
| 471 SAHF = 0}; // x86 | 471 SAHF = 0, // x86 |
| 472 FPU = 1}; // MIPS |
| 472 | 473 |
| 473 // The Strict Mode (ECMA-262 5th edition, 4.2.2). | 474 // The Strict Mode (ECMA-262 5th edition, 4.2.2). |
| 474 enum StrictModeFlag { | 475 enum StrictModeFlag { |
| 475 kNonStrictMode, | 476 kNonStrictMode, |
| 476 kStrictMode, | 477 kStrictMode, |
| 477 // This value is never used, but is needed to prevent GCC 4.5 from failing | 478 // This value is never used, but is needed to prevent GCC 4.5 from failing |
| 478 // to compile when we assert that a flag is either kNonStrictMode or | 479 // to compile when we assert that a flag is either kNonStrictMode or |
| 479 // kStrictMode. | 480 // kStrictMode. |
| 480 kInvalidStrictFlag | 481 kInvalidStrictFlag |
| 481 }; | 482 }; |
| 482 | 483 |
| 483 } } // namespace v8::internal | 484 } } // namespace v8::internal |
| 484 | 485 |
| 485 #endif // V8_V8GLOBALS_H_ | 486 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |