| 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 d3c4095ddb671c165f2d3dede3ea718393b8171b..a3d08a401dba33f7d59abbb8a5ef8bdda32f68cf 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -724,28 +724,6 @@ void FlowGraphCompiler::GenerateAssertAssignable(intptr_t token_pos,
|
| }
|
|
|
|
|
| -void FlowGraphCompiler::EmitInstructionPrologue(Instruction* instr) {
|
| - if (!is_optimizing()) {
|
| - if (FLAG_enable_type_checks && instr->IsAssertAssignable()) {
|
| - AssertAssignableInstr* assert = instr->AsAssertAssignable();
|
| - AddCurrentDescriptor(PcDescriptors::kDeopt,
|
| - assert->deopt_id(),
|
| - assert->token_pos());
|
| - } else if (instr->IsGuardField() ||
|
| - instr->CanBecomeDeoptimizationTarget()) {
|
| - AddCurrentDescriptor(PcDescriptors::kDeopt,
|
| - instr->deopt_id(),
|
| - Scanner::kDummyTokenIndex);
|
| - }
|
| - AllocateRegistersLocally(instr);
|
| - } else if (instr->MayThrow() &&
|
| - (CurrentTryIndex() != CatchClauseNode::kInvalidTryIndex)) {
|
| - // Optimized try-block: Sync locals to fixed stack locations.
|
| - EmitTrySync(instr, CurrentTryIndex());
|
| - }
|
| -}
|
| -
|
| -
|
| void FlowGraphCompiler::EmitTrySyncMove(intptr_t dest_offset,
|
| Location loc,
|
| bool* push_emitted) {
|
|
|