Index: pkg/kernel/binary.md |
diff --git a/pkg/kernel/binary.md b/pkg/kernel/binary.md |
index 840efa0ff7ae0ba91f04771e880197e507af6b40..deacc0c90d333e479d6556dabaaac1c1961908e6 100644 |
--- a/pkg/kernel/binary.md |
+++ b/pkg/kernel/binary.md |
@@ -790,18 +790,21 @@ type BreakStatement extends Statement { |
type WhileStatement extends Statement { |
Byte tag = 67; |
+ FileOffset fileOffset; |
Expression condition; |
Statement body; |
} |
type DoStatement extends Statement { |
Byte tag = 68; |
+ FileOffset fileOffset; |
Statement body; |
Expression condition; |
} |
type ForStatement extends Statement { |
Byte tag = 69; |
+ FileOffset fileOffset; |
List<VariableDeclaration> variables; |
Option<Expression> condition; |
List<Expression> updates; |
@@ -810,7 +813,8 @@ type ForStatement extends Statement { |
type ForInStatement extends Statement { |
Byte tag = 70; |
- FileOffset fileOffset; // note that this is actually the body offset |
+ FileOffset fileOffset; |
+ FileOffset bodyOffset; |
VariableDeclaration variable; |
Expression iterable; |
Statement body; |
@@ -818,7 +822,8 @@ type ForInStatement extends Statement { |
type AsyncForInStatement extends Statement { |
Byte tag = 80; // Note: tag is out of order. |
- FileOffset fileOffset; // note that this is actually the body offset |
+ FileOffset fileOffset; |
+ FileOffset bodyOffset; |
VariableDeclaration variable; |
Expression iterable; |
Statement body; |