summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/interpreter/CallFrameClosure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/interpreter/CallFrameClosure.h')
-rw-r--r--Source/JavaScriptCore/interpreter/CallFrameClosure.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/interpreter/CallFrameClosure.h b/Source/JavaScriptCore/interpreter/CallFrameClosure.h
index 2a841511a..125193258 100644
--- a/Source/JavaScriptCore/interpreter/CallFrameClosure.h
+++ b/Source/JavaScriptCore/interpreter/CallFrameClosure.h
@@ -35,7 +35,7 @@ struct CallFrameClosure {
FunctionExecutable* functionExecutable;
JSGlobalData* globalData;
Register* oldEnd;
- ScopeChainNode* scopeChain;
+ JSScope* scope;
int parameterCountIncludingThis;
int argumentCountIncludingThis;
@@ -51,7 +51,7 @@ struct CallFrameClosure {
void resetCallFrame()
{
- newCallFrame->setScopeChain(scopeChain);
+ newCallFrame->setScope(scope);
for (int i = argumentCountIncludingThis; i < parameterCountIncludingThis; ++i)
newCallFrame->setArgument(i, jsUndefined());
}