Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c5521063dd6b8bf31d400e142c39e37e2719c665..8a1052e4e7dc458d93cb0b9c4cc0d93a22bb0925 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7158,6 +7158,10 @@ class SharedFunctionInfo: public HeapObject { |
// [scope_info]: Scope info. |
DECL_ACCESSORS(scope_info, ScopeInfo) |
+ // The outer scope info for the purpose of parsing this function, or the hole |
+ // value if it isn't yet known. |
+ DECL_ACCESSORS(outer_scope_info, HeapObject) |
+ |
// [construct stub]: Code stub for constructing instances of this function. |
DECL_ACCESSORS(construct_stub, Code) |
@@ -7515,7 +7519,8 @@ class SharedFunctionInfo: public HeapObject { |
static const int kCodeOffset = kNameOffset + kPointerSize; |
static const int kOptimizedCodeMapOffset = kCodeOffset + kPointerSize; |
static const int kScopeInfoOffset = kOptimizedCodeMapOffset + kPointerSize; |
- static const int kConstructStubOffset = kScopeInfoOffset + kPointerSize; |
+ static const int kOuterScopeInfoOffset = kScopeInfoOffset + kPointerSize; |
+ static const int kConstructStubOffset = kOuterScopeInfoOffset + kPointerSize; |
static const int kInstanceClassNameOffset = |
kConstructStubOffset + kPointerSize; |
static const int kFunctionDataOffset = |