Index: src/v8globals.h |
diff --git a/src/v8globals.h b/src/v8globals.h |
index 09d26d2f113697d6062fe8a83732e5f067f7b70e..ebbfd2b3f410ebbb0223de79ed505c799192940d 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; |