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

Unified Diff: runtime/vm/debugger.h

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: cleanup Created 4 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
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 4d00a34100f901ca335b6f648228cb27f05bc0b2..245fc46aaea1818c811c6859dfe16757ea84c08c 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -227,7 +227,14 @@ class CodeBreakpoint {
CodeBreakpoint* next_;
RawPcDescriptors::Kind breakpoint_kind_;
+#if !defined(TARGET_ARCH_DBC)
RawCode* saved_value_;
+#else
+ // When running on the DBC interpreter we patch bytecode in place with
+ // DebugBreak. This is an instruction that was replaced. DebugBreak
+ // will execute it after the breakpoint.
+ uint32_t saved_value_;
+#endif
friend class Debugger;
DISALLOW_COPY_AND_ASSIGN(CodeBreakpoint);

Powered by Google App Engine
This is Rietveld 408576698