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_; |
} |