Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fd5dc4a70455e0201598305361ffe957cf4e60b0..1a42811ad2f9ae73a66fc0f2a180959b07169d96 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3020,6 +3020,9 @@ class SerializedScopeInfo : public FixedArray { |
return reinterpret_cast<SerializedScopeInfo*>(object); |
} |
+ // Return the type of this scope. |
+ ScopeType Type(); |
+ |
// Does this scope call eval? |
bool CallsEval(); |
@@ -3035,6 +3038,9 @@ class SerializedScopeInfo : public FixedArray { |
// Return if this has context slots besides MIN_CONTEXT_SLOTS; |
bool HasHeapAllocatedLocals(); |
+ // Return if contexts are allocated for this scope. |
+ bool HasContext(); |
+ |
// Lookup support for serialized scope info. Returns the |
// the stack slot index for a given slot name if the slot is |
// present; otherwise returns a value < 0. The name must be a symbol |