Changeset 146831 in webkit for trunk/Source/JavaScriptCore/offlineasm/cloop.rb
- Timestamp:
- Mar 25, 2013, 5:36:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/offlineasm/cloop.rb
r145551 r146831 466 466 $asm.putc "{" 467 467 $asm.putc " #{tempType} temp = #{op2} #{operator} #{op1};" 468 $asm.putc " #{op2} = temp;" 468 469 $asm.putc " if (temp #{conditionTest})" 469 470 $asm.putc " goto #{operands[2].cLabel};" 470 $asm.putc " #{op2} = temp;"471 471 $asm.putc "}" 472 472 end … … 534 534 end 535 535 536 $asm.putc " if #{overflowTest} {" 536 $asm.putc " bool didOverflow = #{overflowTest};" 537 $asm.putc " #{operands[1].clValue(type)} = #{operands[1].clValue(type)} #{operator} #{operands[0].clValue(type)};" 538 $asm.putc " if (didOverflow)" 537 539 $asm.putc " goto #{operands[2].cLabel};" 538 $asm.putc " }"539 $asm.putc " #{operands[1].clValue(type)} = #{operands[1].clValue(type)} #{operator} #{operands[0].clValue(type)};"540 540 $asm.putc "}" 541 541 end
Note:
See TracChangeset
for help on using the changeset viewer.