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

Unified Diff: runtime/vm/locations.cc

Issue 10912094: Reapply "Remove classes Computation and BindInstr." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index 04990d65e39c67d0bef54cb959793d75cab874d4..3f7ded17a157430d6763b2c4282761e8e5b0b6a4 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -46,7 +46,7 @@ LocationSummary* LocationSummary::Make(
Location Location::RegisterOrConstant(Value* value) {
- ConstantComp* constant = value->definition()->AsConstant();
+ ConstantInstr* constant = value->definition()->AsConstant();
return (constant != NULL)
? Location::Constant(constant->value())
: Location::RequiresRegister();
@@ -54,7 +54,7 @@ Location Location::RegisterOrConstant(Value* value) {
Location Location::FixedRegisterOrConstant(Value* value, Register reg) {
- ConstantComp* constant = value->definition()->AsConstant();
+ ConstantInstr* constant = value->definition()->AsConstant();
return (constant != NULL)
? Location::Constant(constant->value())
: Location::RegisterLocation(reg);
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698