Index: runtime/vm/flow_graph.cc |
diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc |
index 0c8dbc0a996a6087c29cc3ada5a5773a7450e430..4ab565210c204f2f201e208620d61f95671c5f60 100644 |
--- a/runtime/vm/flow_graph.cc |
+++ b/runtime/vm/flow_graph.cc |
@@ -120,7 +120,7 @@ GrowableArray<BlockEntryInstr*>* FlowGraph::CodegenBlockOrder( |
ConstantInstr* FlowGraph::GetConstant(const Object& object) { |
- ConstantInstr* constant = constant_instr_pool_.Lookup(object); |
+ ConstantInstr* constant = constant_instr_pool_.LookupValue(object); |
if (constant == NULL) { |
// Otherwise, allocate and add it to the pool. |
constant = new(zone()) ConstantInstr( |