Chromium Code Reviews| Index: runtime/vm/code_descriptors.cc |
| diff --git a/runtime/vm/code_descriptors.cc b/runtime/vm/code_descriptors.cc |
| index 12bda9aca0e82125be0bacb644bca0b3cab192b3..9613441424dd39b3cbbed8fe40e6c50017586788 100644 |
| --- a/runtime/vm/code_descriptors.cc |
| +++ b/runtime/vm/code_descriptors.cc |
| @@ -21,21 +21,6 @@ void DescriptorList::AddDescriptor(PcDescriptors::Kind kind, |
| } |
| -void DescriptorList::AddDeoptIndex(intptr_t pc_offset, |
| - intptr_t deopt_id, |
| - DeoptReasonId deopt_reason, |
| - intptr_t deopt_array_index) { |
| - struct PcDesc data; |
| - data.pc_offset = pc_offset; |
| - data.kind = PcDescriptors::kDeoptIndex; |
| - data.deopt_id = deopt_id; |
| - data.SetDeoptReason(deopt_reason); |
| - // Try_index is reused for deopt_array_index. |
| - data.try_index = deopt_array_index; |
|
srdjan
2012/09/28 21:00:26
Please add and use SetDeoptArrayIndex, so that mul
|
| - list_.Add(data); |
| -} |
| - |
| - |
| RawPcDescriptors* DescriptorList::FinalizePcDescriptors(uword entry_point) { |
| intptr_t num_descriptors = Length(); |
| const PcDescriptors& descriptors = |