| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 722a5424c03dd86386af88cc41f5caf5c2d063b9..634652d6c1b39debc8e42f95ff5f043297dd8dc9 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4266,6 +4266,9 @@ class ScopeInfo : public FixedArray {
|
| // Return the name of the given stack local.
|
| String* StackLocalName(int var);
|
|
|
| + // Return the name of the given stack local.
|
| + int StackLocalIndex(int var);
|
| +
|
| // Return the name of the given context local.
|
| String* ContextLocalName(int var);
|
|
|
| @@ -4374,6 +4377,8 @@ class ScopeInfo : public FixedArray {
|
| // slot is used per parameter, so in total this part occupies
|
| // ParameterCount() slots in the array. For other scopes than function
|
| // scopes ParameterCount() is 0.
|
| + // 2a.StackLocalFirstSlot:
|
| + // Index of a first stack slot for stack local.
|
| // 2. StackLocalEntries:
|
| // Contains the names of local variables that are allocated on the stack,
|
| // in increasing order of the stack slot index. One slot is used per stack
|
| @@ -4401,6 +4406,7 @@ class ScopeInfo : public FixedArray {
|
| // slots: a. The name of the function variable.
|
| // b. The context or stack slot index for the variable.
|
| int ParameterEntriesIndex();
|
| + int StackLocalFirstSlotIndex();
|
| int StackLocalEntriesIndex();
|
| int ContextLocalNameEntriesIndex();
|
| int ContextLocalInfoEntriesIndex();
|
|
|