Changeset 157473 in webkit


Ignore:
Timestamp:
Oct 15, 2013, 3:05:02 PM (12 years ago)
Author:
mark.lam@apple.com
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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157468 r157473  
     12013-10-15  Mark Lam  <mark.lam@apple.com>
     2
     3        Fix 3 operand sub operation in C loop LLINT.
     4        https://bugs.webkit.org/show_bug.cgi?id=122866.
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * offlineasm/cloop.rb:
     9
    1102013-10-15  Mark Hahnenberg  <mhahnenberg@apple.com>
    211
  • 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.