Ignore:
Timestamp:
Mar 14, 2017, 10:52:08 PM (8 years ago)
Author:
[email protected]
Message:

Wrong condition in offlineasm/risc.rb
https://bugs.webkit.org/show_bug.cgi?id=169597

Reviewed by Mark Lam.

It's missing the 'and' operator between the conditions.

  • offlineasm/risc.rb:
File:
1 edited

Legend:

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

    r157474 r213973  
    375375                if node.operands[0].is_a? Immediate and
    376376                        (not validImmediates.include? node.operands[0].value) and
    377                         validImmediates.include? -node.operands[0].value
     377                        validImmediates.include? -node.operands[0].value and
    378378                        node.operands.size == 2
    379379                    if node.opcode =~ /add/
Note: See TracChangeset for help on using the changeset viewer.