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

Side by Side Diff: src/v8globals.h

Issue 8396040: Use StrictModeFlag in preparser and preparse data. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« src/globals.h ('K') | « src/preparser.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« src/globals.h ('K') | « src/preparser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698