Changeset 47597 in webkit for trunk/JavaScriptCore/jit/JITStubs.cpp
- Timestamp:
- Aug 20, 2009, 2:49:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITStubs.cpp
r47412 r47597 1486 1486 executable->jitCode(callDataScopeChain); 1487 1487 1488 return &executable->generatedBytecode();1488 return function; 1489 1489 } 1490 1490 … … 1494 1494 1495 1495 CallFrame* callFrame = stackFrame.callFrame; 1496 CodeBlock* newCodeBlock = stackFrame.args[3].codeBlock();1497 ASSERT(newCodeBlock->codeType() != NativeCode);1496 JSFunction* callee = asFunction(stackFrame.args[0].jsValue()); 1497 CodeBlock* newCodeBlock = &callee->executable()->generatedBytecode(); 1498 1498 int argCount = stackFrame.args[2].int32(); 1499 1499 … … 1532 1532 } 1533 1533 1534 RETURN_POINTER_PAIR( newCodeBlock, callFrame);1534 RETURN_POINTER_PAIR(callee, callFrame); 1535 1535 } 1536 1536 … … 1546 1546 if (!executable->isHostFunction()) 1547 1547 codeBlock = &executable->bytecode(callee->scope().node()); 1548 else1549 codeBlock = &executable->generatedBytecode();1550 1548 CallLinkInfo* callLinkInfo = &stackFrame.callFrame->callerFrame()->codeBlock()->getCallLinkInfo(stackFrame.args[1].returnAddress()); 1551 1549
Note:
See TracChangeset
for help on using the changeset viewer.