| Index: runtime/vm/deopt_instructions.cc
|
| ===================================================================
|
| --- runtime/vm/deopt_instructions.cc (revision 14711)
|
| +++ runtime/vm/deopt_instructions.cc (working copy)
|
| @@ -5,7 +5,6 @@
|
| #include "vm/deopt_instructions.h"
|
|
|
| #include "vm/assembler_macros.h"
|
| -#include "vm/code_patcher.h"
|
| #include "vm/intermediate_language.h"
|
| #include "vm/locations.h"
|
| #include "vm/parser.h"
|
| @@ -18,8 +17,7 @@
|
| DeoptimizationContext::DeoptimizationContext(intptr_t* to_frame_start,
|
| intptr_t to_frame_size,
|
| const Array& object_table,
|
| - intptr_t num_args,
|
| - DeoptReasonId deopt_reason)
|
| + intptr_t num_args)
|
| : object_table_(object_table),
|
| to_frame_(to_frame_start),
|
| to_frame_size_(to_frame_size),
|
| @@ -28,7 +26,6 @@
|
| registers_copy_(NULL),
|
| xmm_registers_copy_(NULL),
|
| num_args_(num_args),
|
| - deopt_reason_(deopt_reason),
|
| isolate_(Isolate::Current()) {
|
| from_frame_ = isolate_->deopt_frame_copy();
|
| from_frame_size_ = isolate_->deopt_frame_copy_size();
|
| @@ -259,13 +256,6 @@
|
| uword continue_at_pc = code.GetDeoptBeforePcAtDeoptId(deopt_id_);
|
| intptr_t* to_addr = deopt_context->GetToFrameAddressAt(to_index);
|
| *to_addr = continue_at_pc;
|
| -
|
| - uword pc = code.GetPcForDeoptId(deopt_id_, PcDescriptors::kIcCall);
|
| - const ICData& ic_data = ICData::Handle(
|
| - CodePatcher::GetInstanceCallIcDataAt(pc));
|
| - if (!ic_data.IsNull()) {
|
| - ic_data.set_deopt_reason(deopt_context->deopt_reason());
|
| - }
|
| }
|
|
|
| private:
|
|
|