DFG JIT method_check implementation does not link to optimized get_by_id
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jul 2011 23:07:41 +0000 (23:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Jul 2011 23:07:41 +0000 (23:07 +0000)
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: https://svn.webkit.org/repository/webkit/trunk@90598 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGRepatch.cpp

index b3c0c61..dfb2c12 100644 (file)
@@ -1,3 +1,14 @@
+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
index 4bad8d8..ccaed44 100644 (file)
@@ -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());