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

Unified Diff: runtime/vm/stub_code.h

Issue 2523053002: Implement rewind: drop one or more frames from the debugger. (Closed)
Patch Set: Created 4 years, 1 month 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/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index 3a2cea016c318a54943937b67e170f47f91e6677..04b03602fc7903b5f42d7b444e5d1369eb6ff842 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -27,6 +27,7 @@ class Deserializer;
V(GetStackPointer) \
V(JumpToFrame) \
V(RunExceptionHandler) \
+ V(DeoptForRewind) \
V(UpdateStoreBuffer) \
V(PrintStopMessage) \
V(CallToRuntime) \
@@ -75,6 +76,7 @@ class Deserializer;
V(LazyCompile) \
V(OptimizeFunction) \
V(RunExceptionHandler) \
+ V(DeoptForRewind) \
V(FixCallersTarget) \
V(Deoptimize) \
V(DeoptimizeLazyFromReturn) \
@@ -195,6 +197,12 @@ class StubCode : public AllStatic {
enum DeoptStubKind { kLazyDeoptFromReturn, kLazyDeoptFromThrow, kEagerDeopt };
+// Zap value used to indicate unused CODE_REG in deopt.
+static const int64_t kZapCodeReg = 0xf1f1f1f1;
+
+// Zap value used to indicate unused return address in deopt.
+static const int64_t kZapReturnAddress = 0xe1e1e1e1;
+
} // namespace dart
#endif // RUNTIME_VM_STUB_CODE_H_

Powered by Google App Engine
This is Rietveld 408576698