DFG JIT method_check implementation does not link to optimized get_by_id

slow path.
https://bugs.webkit.org/show_bug.cgi?id=64073

Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-07
Reviewed by Gavin Barraclough.

* dfg/DFGRepatch.cpp:
(JSC::DFG::dfgRepatchGetMethodFast):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent aeb949fb
2011-07-07 Filip Pizlo <fpizlo@apple.com>
DFG JIT method_check implementation does not link to optimized get_by_id
slow path.
https://bugs.webkit.org/show_bug.cgi?id=64073
Reviewed by Gavin Barraclough.
* dfg/DFGRepatch.cpp:
(JSC::DFG::dfgRepatchGetMethodFast):
2011-07-07 Oliver Hunt <oliver@apple.com>
Encode jump and link sizes into the appropriate enums
......
......@@ -168,7 +168,7 @@ static void dfgRepatchGetMethodFast(JSGlobalData* globalData, CodeBlock* codeBlo
RepatchBuffer repatchBuffer(codeBlock);
// Only optimize once!
repatchBuffer.relink(methodInfo.callReturnLocation, operationGetById);
repatchBuffer.relink(methodInfo.callReturnLocation, operationGetByIdOptimize);
methodInfo.cachedStructure.set(*globalData, owner, structure);
methodInfo.cachedPrototypeStructure.set(*globalData, owner, slotBaseObject->structure());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment