LLInt typo error after r139004.
authorrgabor@webkit.org <rgabor@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Feb 2014 17:34:39 +0000 (17:34 +0000)
committerrgabor@webkit.org <rgabor@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Feb 2014 17:34:39 +0000 (17:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=128592

Reviewed by Michael Saboff.

* offlineasm/arm.rb: change immediate to register in the condition

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/offlineasm/arm.rb

index 1606824..eff66fc 100644 (file)
@@ -1,3 +1,12 @@
+2014-02-11  Gabor Rapcsanyi  <rgabor@webkit.org>
+
+        LLInt typo error after r139004.
+        https://bugs.webkit.org/show_bug.cgi?id=128592
+
+        Reviewed by Michael Saboff.
+
+        * offlineasm/arm.rb: change immediate to register in the condition
+
 2014-02-10  Filip Pizlo  <fpizlo@apple.com>
 
         LICM should gracefully handle unprofiled code
index c3dbc51..7e90cc2 100644 (file)
@@ -335,7 +335,7 @@ class Instruction
                 else
                     $asm.puts "adds #{operands[2].armOperand}, #{operands[1].armOperand}, #{operands[0].armOperand}"
                 end
-            elsif operands.size == 3 and operands[0].immediate?
+            elsif operands.size == 3 and operands[0].register?
                 raise unless operands[1].register?
                 raise unless operands[2].register?
                 $asm.puts "adds #{armFlippedOperands(operands)}"