[ARM] offlineasm: fix indentation in armOpcodeReversedOperands
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: http://svn.webkit.org/repository/webkit/trunk@229356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 20b5994..1d945b2 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -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.
diff --git a/Source/JavaScriptCore/offlineasm/arm.rb b/Source/JavaScriptCore/offlineasm/arm.rb
index 01a8f74..d514a0a 100644
--- a/Source/JavaScriptCore/offlineasm/arm.rb
+++ b/Source/JavaScriptCore/offlineasm/arm.rb
@@ -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