]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - interpreter/CallFrameClosure.h
JavaScriptCore-903.5.tar.gz
[apple/javascriptcore.git] / interpreter / CallFrameClosure.h
index 9085327a8273157003aa6d2daa89136b5c89a46f..b4b7efd45baa8019ff86ac2f62422716e60aa636 100644 (file)
@@ -32,7 +32,7 @@ struct CallFrameClosure {
     CallFrame* oldCallFrame;
     CallFrame* newCallFrame;
     JSFunction* function;
-    FunctionBodyNode* functionBody;
+    FunctionExecutable* functionExecutable;
     JSGlobalData* globalData;
     Register* oldEnd;
     ScopeChainNode* scopeChain;
@@ -46,10 +46,10 @@ struct CallFrameClosure {
         else
             newCallFrame[arg - RegisterFile::CallFrameHeaderSize - expectedParams - providedParams] = value;
     }
+
     void resetCallFrame()
     {
         newCallFrame->setScopeChain(scopeChain);
-        newCallFrame->setCalleeArguments(JSValue());
         for (int i = providedParams; i < expectedParams; ++i)
             newCallFrame[i - RegisterFile::CallFrameHeaderSize - expectedParams] = jsUndefined();
     }