Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10453110: Implement optimized unary ops for ia32 as well. Fix a crash in disassembler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/intermediate_language_x64.cc
===================================================================
--- runtime/vm/intermediate_language_x64.cc (revision 8181)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -1399,7 +1399,8 @@
instance_call()->try_index(),
&label,
PcDescriptors::kOther);
- // Result is in EAX.
+ // Result is in RAX.
+ ASSERT(result != temp);
__ movq(result, RAX);
Florian Schneider 2012/06/01 15:49:10 Maybe avoid the move if result == RAX.
srdjan 2012/06/01 18:27:25 ditto.
__ popq(temp);
__ movsd(XMM0, FieldAddress(temp, Double::value_offset()));
« runtime/vm/intermediate_language_ia32.cc ('K') | « runtime/vm/intermediate_language_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698