[ARM] offlineasm: fix indentation in armOpcodeReversedOperands
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2018 09:38:57 +0000 (09:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2018 09:38:57 +0000 (09:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183400

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

* offlineasm/arm.rb:

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

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

index 20b5994..1d945b2 100644 (file)
@@ -1,3 +1,12 @@
+2018-03-07  Dominik Infuehr  <dinfuehr@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.lam@apple.com>
 
         Prepare LLInt code to support pointer profiling.
index 01a8f74..d514a0a 100644 (file)
@@ -223,20 +223,21 @@ end
 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