| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index c4eacd721249a21295a8e2bd879aa9571708bd09..a349cabba670ce3d9f7104626ce8166997889c2b 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -62,7 +62,7 @@ void EffectGraphVisitor::Append(const EffectGraphVisitor& other_fragment) {
|
| }
|
|
|
|
|
| -UseVal* EffectGraphVisitor::Bind(Computation* computation) {
|
| +Value* EffectGraphVisitor::Bind(Computation* computation) {
|
| ASSERT(is_open());
|
| DeallocateTempIndex(computation->InputCount());
|
| BindInstr* bind_instr = new BindInstr(BindInstr::kUsed, computation);
|
| @@ -73,7 +73,7 @@ UseVal* EffectGraphVisitor::Bind(Computation* computation) {
|
| exit()->set_next(bind_instr);
|
| }
|
| exit_ = bind_instr;
|
| - return new UseVal(bind_instr);
|
| + return new Value(bind_instr);
|
| }
|
|
|
|
|
| @@ -1688,7 +1688,6 @@ void EffectGraphVisitor::BuildConstructorTypeArguments(
|
| const LocalVariable& t2 = node->allocated_object_var();
|
| Value* instantiator_type_arguments = BuildInstantiatorTypeArguments(
|
| node->token_pos(), NULL);
|
| - ASSERT(instantiator_type_arguments->IsUse());
|
| Value* stored_instantiator =
|
| Bind(BuildStoreLocal(t1, instantiator_type_arguments));
|
| // t1: instantiator type arguments.
|
|
|