Ignore:
Timestamp:
Jul 26, 2013, 11:17:53 AM (12 years ago)
Author:
[email protected]
Message:

[mips] Fix LLINT build for mips backend
https://bugs.webkit.org/show_bug.cgi?id=119152

Patch by Balazs Kilvady <[email protected]> on 2013-07-26
Reviewed by Oliver Hunt.

  • offlineasm/mips.rb:
File:
1 edited

Legend:

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

    r153307 r153375  
    140140class Immediate
    141141    def mipsOperand
    142         raise "Invalid immediate #{value} at #{codeOriginString}" if value < -0x7fff or value > 0x7fff
     142        raise "Invalid immediate #{value} at #{codeOriginString}" if value < -0x7fff or value > 0xffff
    143143        "#{value}"
    144144    end
     
    379379                    newList << node
    380380                end
     381            when /^(addi|subi)/
     382                newList << node.riscLowerMalformedImmediatesRecurse(newList, -0x7fff..0x7fff)
    381383            else
    382384                newList << node
Note: See TracChangeset for help on using the changeset viewer.