Ignore:
Timestamp:
Mar 7, 2018, 1:38:57 AM (7 years ago)
Author:
[email protected]
Message:

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

Patch by Dominik Infuehr <[email protected]> on 2018-03-07
Reviewed by Mark Lam.

  • offlineasm/arm.rb:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/arm.rb

    r229331 r229356  
    224224    m = /\Ab[ipb]/.match(opcode)
    225225
    226     operation = case m.post_match
    227                 when "eq" then "eq"
    228                 when "neq" then "neq"
    229                 when "a" then "b"
    230                 when "aeq" then "beq"
    231                 when "b" then "a"
    232                 when "beq" then "aeq"
    233                 when "gt" then "lt"
    234                 when "gteq" then "lteq"
    235                 when "lt" then "gt"
    236                 when "lteq" then "gteq"
    237                 else
    238                     raise "unknown operation #{m.post_match}"
    239                 end
     226    operation =
     227        case m.post_match
     228        when "eq" then "eq"
     229        when "neq" then "neq"
     230        when "a" then "b"
     231        when "aeq" then "beq"
     232        when "b" then "a"
     233        when "beq" then "aeq"
     234        when "gt" then "lt"
     235        when "gteq" then "lteq"
     236        when "lt" then "gt"
     237        when "lteq" then "gteq"
     238        else
     239            raise "unknown operation #{m.post_match}"
     240        end
    240241
    241242    "#{m[0]}#{operation}"
Note: See TracChangeset for help on using the changeset viewer.