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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 9471010: Expand the instruction visitor to visit computations and values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Small cleanup of comments and identifier naming. Created 8 years, 10 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/flow_graph_compiler_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index ef95acc1583b92e11aaad9c6248c6ba32a94efe7..32bd90d0074d5efb8036f0b3242f1b3d8705ddd5 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.cc
@@ -37,7 +37,7 @@ void FlowGraphCompiler::Bailout(const char* reason) {
void FlowGraphCompiler::LoadValue(Value* value) {
if (value->IsConstant()) {
- ConstantValue* constant = value->AsConstant();
+ ConstantVal* constant = value->AsConstant();
if (constant->instance().IsSmi()) {
int64_t imm = reinterpret_cast<int64_t>(constant->instance().raw());
__ movq(RAX, Immediate(imm));

Powered by Google App Engine
This is Rietveld 408576698