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

Unified Diff: runtime/vm/intermediate_language_ia32.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_ia32.cc
===================================================================
--- runtime/vm/intermediate_language_ia32.cc (revision 11037)
+++ runtime/vm/intermediate_language_ia32.cc (working copy)
@@ -164,16 +164,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());
}

Powered by Google App Engine
This is Rietveld 408576698