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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 829133006: VM: Small generated code size improvements on x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 42687)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -1274,11 +1274,13 @@
break;
case kTypedDataInt16ArrayCid:
case kTypedDataUint16ArrayCid:
- case kTypedDataInt32ArrayCid:
- case kTypedDataUint32ArrayCid:
// Writable register because the value must be untagged before storing.
locs->set_in(2, Location::WritableRegister());
break;
+ case kTypedDataInt32ArrayCid:
+ case kTypedDataUint32ArrayCid:
+ locs->set_in(2, Location::RequiresRegister());
zra 2015/01/08 15:50:09 Merge with Int64 case?
Florian Schneider 2015/01/08 16:15:30 Done.
+ break;
case kTypedDataInt64ArrayCid:
locs->set_in(2, Location::RequiresRegister());
break;
« runtime/vm/flow_graph_compiler_x64.cc ('K') | « runtime/vm/flow_graph_compiler_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698