Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: src/v8globals.h

Issue 6709022: Re-establish mips basic infrastructure. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Updated per comments, and rebased on r7312. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 // feel free to change this if needed.) 460 // feel free to change this if needed.)
461 // On X86/X64, values below 32 are bits in EDX, values above 32 are bits in ECX. 461 // On X86/X64, values below 32 are bits in EDX, values above 32 are bits in ECX.
462 enum CpuFeature { SSE4_1 = 32 + 19, // x86 462 enum CpuFeature { SSE4_1 = 32 + 19, // x86
463 SSE3 = 32 + 0, // x86 463 SSE3 = 32 + 0, // x86
464 SSE2 = 26, // x86 464 SSE2 = 26, // x86
465 CMOV = 15, // x86 465 CMOV = 15, // x86
466 RDTSC = 4, // x86 466 RDTSC = 4, // x86
467 CPUID = 10, // x86 467 CPUID = 10, // x86
468 VFP3 = 1, // ARM 468 VFP3 = 1, // ARM
469 ARMv7 = 2, // ARM 469 ARMv7 = 2, // ARM
470 SAHF = 0}; // x86 470 SAHF = 0, // x86
471 FPU = 1}; // MIPS
471 472
472 // The Strict Mode (ECMA-262 5th edition, 4.2.2). 473 // The Strict Mode (ECMA-262 5th edition, 4.2.2).
473 enum StrictModeFlag { 474 enum StrictModeFlag {
474 kNonStrictMode, 475 kNonStrictMode,
475 kStrictMode, 476 kStrictMode,
476 // This value is never used, but is needed to prevent GCC 4.5 from failing 477 // This value is never used, but is needed to prevent GCC 4.5 from failing
477 // to compile when we assert that a flag is either kNonStrictMode or 478 // to compile when we assert that a flag is either kNonStrictMode or
478 // kStrictMode. 479 // kStrictMode.
479 kInvalidStrictFlag 480 kInvalidStrictFlag
480 }; 481 };
481 482
482 } } // namespace v8::internal 483 } } // namespace v8::internal
483 484
484 #endif // V8_V8GLOBALS_H_ 485 #endif // V8_V8GLOBALS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698