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

Unified Diff: runtime/vm/locations.cc

Issue 10917085: Revert "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
« 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.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index 3f7ded17a157430d6763b2c4282761e8e5b0b6a4..04990d65e39c67d0bef54cb959793d75cab874d4 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -46,7 +46,7 @@ LocationSummary* LocationSummary::Make(
Location Location::RegisterOrConstant(Value* value) {
- ConstantInstr* constant = value->definition()->AsConstant();
+ ConstantComp* 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) {
- ConstantInstr* constant = value->definition()->AsConstant();
+ ConstantComp* constant = value->definition()->AsConstant();
return (constant != NULL)
? Location::Constant(constant->value())
: Location::RegisterLocation(reg);
« 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