Index: src/v8globals.h |
diff --git a/src/v8globals.h b/src/v8globals.h |
index 2a0a266bcb04e93ba90d4a2726320d3e16b607b9..0601e8affb11714c969fc5e3961f8cf871053093 100644 |
--- a/src/v8globals.h |
+++ b/src/v8globals.h |
@@ -509,6 +509,16 @@ enum CallKind { |
}; |
+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; |