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

Unified Diff: runtime/vm/object.h

Issue 10912146: Finish implementing lazy deoptimization (ia32, x64). Ran tests with --deoptimize-alot. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/instructions_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « runtime/vm/instructions_x64.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698