| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 2938750e54d3437e642511b1e5af7353df361c8d..0eb797499177740b8de364bc28a3c96cf6f647c6 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -3039,6 +3039,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();
|
|
|
| @@ -3054,6 +3057,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
|
|
|