| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 1dc3865fd6009b6bf15e901c4b75cbabb1ca3f9a..2bfc3a1e2fe9424083d81d5b802c964b07461b78 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -3559,6 +3559,13 @@ class ScopeInfo : public FixedArray {
|
| // must be a symbol (canonicalized).
|
| int FunctionContextSlotIndex(String* name, VariableMode* mode);
|
|
|
| +
|
| + // Copies all the context locals into an object used to materialize a scope.
|
| + bool CopyContextLocalsToScopeObject(Isolate* isolate,
|
| + Handle<Context> context,
|
| + Handle<JSObject> scope_object);
|
| +
|
| +
|
| static Handle<ScopeInfo> Create(Scope* scope, Zone* zone);
|
|
|
| // Serializes empty scope info.
|
|
|