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

Unified Diff: runtime/vm/object.h

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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 14a6222d8457a31ceba53c6b6fe927566609f8cd..0ff24908c171c96f148af0573fd923db48d17317 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2104,9 +2104,7 @@ class PcDescriptors : public Object {
kKindEntry = 1,
kDeoptIdEntry = 2, // Deopt id.
kTokenPosEntry = 3, // Token position in source.
- kDeoptReasonEntry = 3, // DeoptReasonId.
kTryIndexEntry = 4, // Try block index.
- kDeoptIndexEntry = 4, // Deoptimization array index.
// We would potentially be adding other objects here like
// pointer maps for optimized functions, local variables information etc.
kNumberOfEntries = 5,
@@ -2116,7 +2114,6 @@ class PcDescriptors : public Object {
enum Kind {
kDeoptBefore = 0, // Deoptimization continuation point before instruction.
kDeoptAfter, // Deoptimization continuation point after instruction.
- kDeoptIndex, // Index into deopt info array.
kPatchCode, // Buffer for patching code entry.
kLazyDeoptJump, // Lazy deoptimization trampoline.
kIcCall, // IC call.
@@ -2133,10 +2130,6 @@ class PcDescriptors : public Object {
intptr_t DeoptId(intptr_t index) const;
intptr_t TokenPos(intptr_t index) const;
intptr_t TryIndex(intptr_t index) const;
- // Different encoding for kDeoptIndex.
- // Index into the deopt-info array of Code object.
- intptr_t DeoptIndex(intptr_t index) const;
- intptr_t DeoptReason(intptr_t index) const;
void AddDescriptor(intptr_t index,
uword pc,

Powered by Google App Engine
This is Rietveld 408576698