| Index: runtime/vm/flow_graph_builder.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_builder.cc (revision 11303)
|
| +++ runtime/vm/flow_graph_builder.cc (working copy)
|
| @@ -276,11 +276,8 @@
|
| }
|
| const Bool& bool_true = Bool::ZoneHandle(Bool::True());
|
| Value* constant_true = Bind(Constant(bool_true));
|
| - BranchInstr* branch = new BranchInstr(condition_token_pos(),
|
| - owner()->try_index(),
|
| - value,
|
| - constant_true,
|
| - Token::kEQ_STRICT);
|
| + StrictCompareAndBranchInstr* branch =
|
| + new StrictCompareAndBranchInstr(value, constant_true, Token::kEQ_STRICT);
|
| AddInstruction(branch);
|
| CloseFragment();
|
| true_successor_address_ = branch->true_successor_address();
|
| @@ -306,11 +303,10 @@
|
| ASSERT(!FLAG_enable_type_checks);
|
| const Bool& bool_true = Bool::ZoneHandle(Bool::True());
|
| Value* constant_true = Bind(Constant(bool_true));
|
| - BranchInstr* branch = new BranchInstr(condition_token_pos(),
|
| - owner()->try_index(),
|
| - comp->value(),
|
| - constant_true,
|
| - Token::kNE_STRICT);
|
| + StrictCompareAndBranchInstr* branch =
|
| + new StrictCompareAndBranchInstr(comp->value(),
|
| + constant_true,
|
| + Token::kNE_STRICT);
|
| AddInstruction(branch);
|
| CloseFragment();
|
| true_successor_address_ = branch->true_successor_address();
|
|
|