Changeset 59339 in webkit for trunk/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- May 12, 2010, 9:01:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSFunction.cpp
r58469 r59339 107 107 #if ENABLE(JIT_OPTIMIZE_CALL) 108 108 ASSERT(m_executable); 109 if (jsExecutable()->isGenerated()) 110 jsExecutable()->generatedBytecode().unlinkCallers(); 109 if (jsExecutable()->isGeneratedForCall()) 110 jsExecutable()->generatedBytecodeForCall().unlinkCallers(); 111 if (jsExecutable()->isGeneratedForConstruct()) 112 jsExecutable()->generatedBytecodeForConstruct().unlinkCallers(); 111 113 #endif 112 114 scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too? … … 137 139 { 138 140 ASSERT(!isHostFunction()); 139 return exec->interpreter()->execute (jsExecutable(), exec, this, thisValue.toThisObject(exec), args, scopeChain().node(), exec->exceptionSlot());141 return exec->interpreter()->executeCall(jsExecutable(), exec, this, thisValue.toThisObject(exec), args, scopeChain().node(), exec->exceptionSlot()); 140 142 } 141 143 … … 278 280 JSObject* thisObj = new (exec) JSObject(structure); 279 281 280 JSValue result = exec->interpreter()->execute (jsExecutable(), exec, this, thisObj, args, scopeChain().node(), exec->exceptionSlot());282 JSValue result = exec->interpreter()->executeConstruct(jsExecutable(), exec, this, thisObj, args, scopeChain().node(), exec->exceptionSlot()); 281 283 if (exec->hadException() || !result.isObject()) 282 284 return thisObj;
Note:
See TracChangeset
for help on using the changeset viewer.