Title: [229356] trunk/Source/_javascript_Core
Revision
229356
Author
commit-qu...@webkit.org
Date
2018-03-07 01:38:57 -0800 (Wed, 07 Mar 2018)

Log Message

[ARM] offlineasm: fix indentation in armOpcodeReversedOperands
https://bugs.webkit.org/show_bug.cgi?id=183400

Patch by Dominik Infuehr <dinfu...@igalia.com> on 2018-03-07
Reviewed by Mark Lam.

* offlineasm/arm.rb:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (229355 => 229356)


--- trunk/Source/_javascript_Core/ChangeLog	2018-03-07 09:17:26 UTC (rev 229355)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-03-07 09:38:57 UTC (rev 229356)
@@ -1,3 +1,12 @@
+2018-03-07  Dominik Infuehr  <dinfu...@igalia.com>
+
+        [ARM] offlineasm: fix indentation in armOpcodeReversedOperands
+        https://bugs.webkit.org/show_bug.cgi?id=183400
+
+        Reviewed by Mark Lam.
+
+        * offlineasm/arm.rb:
+
 2018-03-06  Mark Lam  <mark....@apple.com>
 
         Prepare LLInt code to support pointer profiling.

Modified: trunk/Source/_javascript_Core/offlineasm/arm.rb (229355 => 229356)


--- trunk/Source/_javascript_Core/offlineasm/arm.rb	2018-03-07 09:17:26 UTC (rev 229355)
+++ trunk/Source/_javascript_Core/offlineasm/arm.rb	2018-03-07 09:38:57 UTC (rev 229356)
@@ -223,20 +223,21 @@
 def armOpcodeReversedOperands(opcode)
     m = /\Ab[ipb]/.match(opcode)
 
-    operation = case m.post_match
-                when "eq" then "eq"
-                when "neq" then "neq"
-                when "a" then "b"
-                when "aeq" then "beq"
-                when "b" then "a"
-                when "beq" then "aeq"
-                when "gt" then "lt"
-                when "gteq" then "lteq"
-                when "lt" then "gt"
-                when "lteq" then "gteq"
-                else
-                    raise "unknown operation #{m.post_match}"
-                end
+    operation =
+        case m.post_match
+        when "eq" then "eq"
+        when "neq" then "neq"
+        when "a" then "b"
+        when "aeq" then "beq"
+        when "b" then "a"
+        when "beq" then "aeq"
+        when "gt" then "lt"
+        when "gteq" then "lteq"
+        when "lt" then "gt"
+        when "lteq" then "gteq"
+        else
+            raise "unknown operation #{m.post_match}"
+        end
 
     "#{m[0]}#{operation}"
 end
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to