OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |