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

Unified Diff: runtime/vm/object.h

Issue 12457034: Ensure that all goto instructions have deoptimization target. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Delete UNREACHABLE Created 7 years, 8 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/isolate.h ('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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index b47092451d4cc448c7540a30c4073f2cb5ba9831..1db01c5c5ab28ac12db4d082ef5d5cdc482f4ce1 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2393,8 +2393,7 @@ class PcDescriptors : public Object {
public:
enum Kind {
- kDeoptBefore = 0, // Deoptimization continuation point before instruction.
- kDeoptAfter, // Deoptimization continuation point after instruction.
+ kDeopt, // Deoptimization continuation point.
kEntryPatch, // Location where to patch entry.
kPatchCode, // Buffer for patching code entry.
kLazyDeoptJump, // Lazy deoptimization trampoline.
@@ -2810,9 +2809,6 @@ class Code : public Object {
uword GetPatchCodePc() const;
uword GetLazyDeoptPc() const;
- uword GetDeoptBeforePcAtDeoptId(intptr_t deopt_id) const;
- uword GetDeoptAfterPcAtDeoptId(intptr_t deopt_id) const;
-
uword GetPcForDeoptId(intptr_t deopt_id, PcDescriptors::Kind kind) const;
// Returns true if there is an object in the code between 'start_offset'
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698