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

Unified Diff: pkg/kernel/binary.md

Issue 2750013002: [kernel] Debugging of switch statement (Closed)
Patch Set: Take #2: Update switch case to include list of positions Created 3 years, 9 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: pkg/kernel/binary.md
diff --git a/pkg/kernel/binary.md b/pkg/kernel/binary.md
index 71f3d9461824a429f1b36587f0112b3c744227a9..1aa56afacc2c38cbb0c2f266cd94637901bdeaa2 100644
--- a/pkg/kernel/binary.md
+++ b/pkg/kernel/binary.md
@@ -743,6 +743,7 @@ type SwitchStatement extends Statement {
type SwitchCase {
// Note: there is no tag on SwitchCase
List<Expression> expressions;
+ List<FileOffset> expressionsOffsets; // 1-to-1 with expressions.
Kevin Millikin (Google) 2017/03/20 12:29:47 expressionsOffsets ==> expressionOffsets Since th
jensj 2017/03/21 10:06:19 Done.
Byte isDefault; // 1 if default, 0 is not default.
Statement body;
}

Powered by Google App Engine
This is Rietveld 408576698