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

Unified Diff: runtime/vm/object.h

Issue 2380403003: Lazy deopt without code patching. (Closed)
Patch Set: remove tracing register assignment Created 4 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/isolate.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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 3ce365b96662065012a4b1ecf914430e50fa86dd..139aab3b8b45e1f526f8a0032e665860fe6e3920 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4918,13 +4918,6 @@ class Code : public Object {
}
TokenPosition GetTokenIndexOfPC(uword pc) const;
- enum {
- kInvalidPc = -1
- };
-
- uword GetLazyDeoptReturnPc() const;
- uword GetLazyDeoptThrowPc() const;
-
// Find pc, return 0 if not found.
uword GetPcForDeoptId(intptr_t deopt_id, RawPcDescriptors::Kind kind) const;
intptr_t GetDeoptIdForOsr(uword pc) const;
@@ -4940,35 +4933,6 @@ class Code : public Object {
#endif
}
- intptr_t lazy_deopt_return_pc_offset() const {
-#if defined(DART_PRECOMPILED_RUNTIME)
- return 0;
-#else
- return raw_ptr()->lazy_deopt_return_pc_offset_;
-#endif
- }
- void set_lazy_deopt_return_pc_offset(intptr_t pc) const {
-#if defined(DART_PRECOMPILED_RUNTIME)
- UNREACHABLE();
-#else
- StoreNonPointer(&raw_ptr()->lazy_deopt_return_pc_offset_, pc);
-#endif
- }
- intptr_t lazy_deopt_throw_pc_offset() const {
-#if defined(DART_PRECOMPILED_RUNTIME)
- return 0;
-#else
- return raw_ptr()->lazy_deopt_throw_pc_offset_;
-#endif
- }
- void set_lazy_deopt_throw_pc_offset(intptr_t pc) const {
-#if defined(DART_PRECOMPILED_RUNTIME)
- UNREACHABLE();
-#else
- StoreNonPointer(&raw_ptr()->lazy_deopt_throw_pc_offset_, pc);
-#endif
- }
-
bool IsAllocationStubCode() const;
bool IsStubCode() const;
bool IsFunctionCode() const;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698