Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: runtime/vm/code_descriptors.cc

Issue 10982088: Remove deoptimization index PC descriptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove code from an unrelated change. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698