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

Unified Diff: runtime/vm/locations.h

Issue 11855007: Optimize stores to Uint8List. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.h
===================================================================
--- runtime/vm/locations.h (revision 16956)
+++ runtime/vm/locations.h (working copy)
@@ -428,10 +428,15 @@
}
void set_temp(intptr_t index, Location loc) {
- ASSERT(!always_calls() || loc.IsRegister());
+ ASSERT(!always_calls() || loc.IsMachineRegister());
temp_locations_[index] = loc;
}
+ void AddTemp(Location loc) {
+ ASSERT(!always_calls() || loc.IsMachineRegister());
+ temp_locations_.Add(loc);
+ }
+
Location out() const {
return output_location_;
}
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698