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

Side by Side Diff: src/v8globals.h

Issue 7039004: Add enumeration to specify if smi check needed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: move to common header Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 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
11 // with the distribution. 11 // with the distribution.
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 // The Strict Mode (ECMA-262 5th edition, 4.2.2). 475 // The Strict Mode (ECMA-262 5th edition, 4.2.2).
476 enum StrictModeFlag { 476 enum StrictModeFlag {
477 kNonStrictMode, 477 kNonStrictMode,
478 kStrictMode, 478 kStrictMode,
479 // This value is never used, but is needed to prevent GCC 4.5 from failing 479 // This value is never used, but is needed to prevent GCC 4.5 from failing
480 // to compile when we assert that a flag is either kNonStrictMode or 480 // to compile when we assert that a flag is either kNonStrictMode or
481 // kStrictMode. 481 // kStrictMode.
482 kInvalidStrictFlag 482 kInvalidStrictFlag
483 }; 483 };
484 484
485
486 // Used to specify if a macro instruction must perform a smi check on tagged
487 // values.
488 enum SmiCheckType {
489 DONT_DO_SMI_CHECK = 0,
490 DO_SMI_CHECK
491 };
492
485 } } // namespace v8::internal 493 } } // namespace v8::internal
486 494
487 #endif // V8_V8GLOBALS_H_ 495 #endif // V8_V8GLOBALS_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698