2009-05-07 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 May 2009 22:07:25 +0000 (22:07 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 May 2009 22:07:25 +0000 (22:07 +0000)
        Reviewed by John Honeycutt.

        - enable optimization case im the last patch that I accidentally had disabled.

        * jit/JITArithmetic.cpp:
        (JSC::JIT::compileFastArithSlow_op_jnless):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/jit/JITArithmetic.cpp

index acfd4471388a3b2052ff2c171b1bcfc24239a6a6..94a6600ab5c1b4ca848d50e9f88b03721f42962d 100644 (file)
@@ -1,3 +1,12 @@
+2009-05-07  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by John Honeycutt.
+        
+        - enable optimization case im the last patch that I accidentally had disabled.
+
+        * jit/JITArithmetic.cpp:
+        (JSC::JIT::compileFastArithSlow_op_jnless):
+
 2009-05-07  Dmitry Titov  <dimich@chromium.org>
 
         Reviewed by Alexey Proskuryakov and Adam Roben.
index 85a40b648ad79a8556dd8c8691829fbdfb0f256e..04d48ba4e1b1134978c420af93f1c1ca078b57b1 100644 (file)
@@ -298,10 +298,11 @@ void JIT::compileFastArithSlow_op_jnless(unsigned op1, unsigned op2, unsigned ta
         emitPutJITStubArgFromVirtualRegister(op2, 2, regT2);
         emitCTICall(JITStubs::cti_op_jless);
         emitJumpSlowToHot(branchTest32(Zero, regT0), target + 3);
+
     } else if (isOperandConstantImmediateInt(op1)) {
         linkSlowCase(iter);
 
-        if (0 && isSSE2Present()) {
+        if (isSSE2Present()) {
 #if USE(ALTERNATE_JSIMMEDIATE)
             Jump fail1 = emitJumpIfNotImmediateNumber(regT1);
             addPtr(tagTypeNumberRegister, regT1);
@@ -338,6 +339,7 @@ void JIT::compileFastArithSlow_op_jnless(unsigned op1, unsigned op2, unsigned ta
         emitPutJITStubArg(regT1, 2);
         emitCTICall(JITStubs::cti_op_jless);
         emitJumpSlowToHot(branchTest32(Zero, regT0), target + 3);
+
     } else {
         linkSlowCase(iter);