| Index: src/v8globals.h
|
| ===================================================================
|
| --- src/v8globals.h (revision 9808)
|
| +++ src/v8globals.h (working copy)
|
| @@ -509,6 +509,16 @@
|
| };
|
|
|
|
|
| +enum ScopeType {
|
| + EVAL_SCOPE, // The top-level scope for an eval source.
|
| + FUNCTION_SCOPE, // The top-level scope for a function.
|
| + GLOBAL_SCOPE, // The top-level scope for a program or a top-level eval.
|
| + CATCH_SCOPE, // The scope introduced by catch.
|
| + BLOCK_SCOPE, // The scope introduced by a new block.
|
| + WITH_SCOPE // The scope introduced by with.
|
| +};
|
| +
|
| +
|
| static const uint32_t kHoleNanUpper32 = 0x7FFFFFFF;
|
| static const uint32_t kHoleNanLower32 = 0xFFFFFFFF;
|
| static const uint32_t kNaNOrInfinityLowerBoundUpper32 = 0x7FF00000;
|
| @@ -521,12 +531,14 @@
|
|
|
| enum VariableMode {
|
| // User declared variables:
|
| - VAR, // declared via 'var', and 'function' declarations
|
| + VAR, // declared via 'var', and 'function' declarations
|
|
|
| - CONST, // declared via 'const' declarations
|
| + CONST, // declared via 'const' declarations
|
|
|
| - LET, // declared via 'let' declarations
|
| + CONST_HARMONY, // declared via 'const' declarations in harmony mode
|
|
|
| + LET, // declared via 'let' declarations
|
| +
|
| // Variables introduced by the compiler:
|
| DYNAMIC, // always require dynamic lookup (we don't know
|
| // the declaration)
|
| @@ -547,6 +559,13 @@
|
| // in a context
|
| };
|
|
|
| +
|
| +enum ClearExceptionFlag {
|
| + KEEP_EXCEPTION,
|
| + CLEAR_EXCEPTION
|
| +};
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_V8GLOBALS_H_
|
|
|