Ignore:
Timestamp:
Oct 15, 2013, 3:05:02 PM (12 years ago)
Author:
[email protected]
Message:

Fix 3 operand sub operation in C loop LLINT.
https://bugs.webkit.org/show_bug.cgi?id=122866.

Reviewed by Geoffrey Garen.

  • offlineasm/cloop.rb:
File:
1 edited

Legend:

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

    r154066 r157473  
    357357        type == :int64 || type == :uint64 || type == :double
    358358    if operands.size == 3
    359         $asm.putc "#{operands[2].clValue(type)} = #{operands[1].clValue(type)} #{operator} #{operands[0].clValue(type)};"
     359        $asm.putc "#{operands[2].clValue(type)} = #{operands[0].clValue(type)} #{operator} #{operands[1].clValue(type)};"
    360360        if operands[2].is_a? RegisterID and (type == :int32 or type == :uint32)
    361361            $asm.putc "#{operands[2].clDump}.clearHighWord();" # Just clear it. It does nothing on the 32-bit port.
Note: See TracChangeset for help on using the changeset viewer.