Index: runtime/vm/object.h |
=================================================================== |
--- runtime/vm/object.h (revision 12092) |
+++ runtime/vm/object.h (working copy) |
@@ -2276,6 +2276,7 @@ |
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. |
kFuncCall, // Call to known target, e.g. static call, closure call. |
kReturn, // Return from function. |
@@ -2323,6 +2324,9 @@ |
static RawPcDescriptors* New(intptr_t num_descriptors); |
+ // Returns 0 if not found. |
+ uword GetPcForKind(Kind kind) const; |
+ |
// Verify (assert) assumptions about pc descriptors in debug mode. |
void Verify(bool check_ids) const; |
@@ -2656,8 +2660,9 @@ |
} |
intptr_t GetTokenIndexOfPC(uword pc) const; |
- // Find pc of patch code buffer. Return 0 if not found. |
+ // Find pc, return 0 if not found. |
uword GetPatchCodePc() const; |
+ uword GetLazyDeoptPc() const; |
uword GetDeoptBeforePcAtDeoptId(intptr_t deopt_id) const; |
uword GetDeoptAfterPcAtDeoptId(intptr_t deopt_id) const; |