From 53f8d5f7bd32c8b47ee235033f3f913a8f3f2d09 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Mon, 4 Mar 2024 15:50:38 -0800 Subject: [Parser] Support prologue and epilogue sourcemap annotations (#6370) and fix a bug with sourcemap annotations on folded `if` conditions. Update IRBuilder to apply prologue and epilogue source locations when beginning and ending a function scope. Add basic support in the parser for explicitly tracking annotations on module fields, although only do anything with them in the case of prologue source location annotations. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index a85bcacaf..fc03cf492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ full changeset diff at the end of each section. Current Trunk ------------- + - (If new wat parser is enabled) Source map comments on `else` branches must + now be placed above the instruction inside the `else` branch rather than on + the `else` branch itself. + v117 ---- -- cgit v1.2.3