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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10829451: Make Value not a subclass of Computation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 8 years, 4 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 11037)
+++ runtime/vm/intermediate_language_x64.cc (working copy)
@@ -173,16 +173,16 @@
}
-LocationSummary* ConstantVal::MakeLocationSummary() const {
+LocationSummary* MaterializeComp::MakeLocationSummary() const {
return LocationSummary::Make(0,
Location::RequiresRegister(),
LocationSummary::kNoCall);
}
-void ConstantVal::EmitNativeCode(FlowGraphCompiler* compiler) {
+void MaterializeComp::EmitNativeCode(FlowGraphCompiler* compiler) {
Register result = locs()->out().reg();
- __ LoadObject(result, value());
+ __ LoadObject(result, constant_val()->value());
}
« runtime/vm/intermediate_language.h ('K') | « runtime/vm/intermediate_language_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698