Title: [157473] trunk/Source/_javascript_Core
- Revision
- 157473
- Author
- [email protected]
- Date
- 2013-10-15 15:05:02 -0700 (Tue, 15 Oct 2013)
Log 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:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (157472 => 157473)
--- trunk/Source/_javascript_Core/ChangeLog 2013-10-15 22:01:11 UTC (rev 157472)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-10-15 22:05:02 UTC (rev 157473)
@@ -1,3 +1,12 @@
+2013-10-15 Mark Lam <[email protected]>
+
+ 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:
+
2013-10-15 Mark Hahnenberg <[email protected]>
ObjCCallbackFunctionImpl shouldn't store a JSContext
Modified: trunk/Source/_javascript_Core/offlineasm/cloop.rb (157472 => 157473)
--- trunk/Source/_javascript_Core/offlineasm/cloop.rb 2013-10-15 22:01:11 UTC (rev 157472)
+++ trunk/Source/_javascript_Core/offlineasm/cloop.rb 2013-10-15 22:05:02 UTC (rev 157473)
@@ -356,7 +356,7 @@
raise unless type == :int || type == :uint || type == :int32 || type == :uint32 || \
type == :int64 || type == :uint64 || type == :double
if operands.size == 3
- $asm.putc "#{operands[2].clValue(type)} = #{operands[1].clValue(type)} #{operator} #{operands[0].clValue(type)};"
+ $asm.putc "#{operands[2].clValue(type)} = #{operands[0].clValue(type)} #{operator} #{operands[1].clValue(type)};"
if operands[2].is_a? RegisterID and (type == :int32 or type == :uint32)
$asm.putc "#{operands[2].clDump}.clearHighWord();" # Just clear it. It does nothing on the 32-bit port.
end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes