Changeset 229356 in webkit


Ignore:
Timestamp:
Mar 7, 2018, 1:38:57 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r229354 r229356  
     12018-03-07  Dominik Infuehr  <dinfuehr@igalia.com>
     2
     3        [ARM] offlineasm: fix indentation in armOpcodeReversedOperands
     4        https://bugs.webkit.org/show_bug.cgi?id=183400
     5
     6        Reviewed by Mark Lam.
     7
     8        * offlineasm/arm.rb:
     9
    1102018-03-06  Mark Lam  <mark.lam@apple.com>
    211
  • 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.