diff options
Diffstat (limited to 'src/ast_utils.h')
-rw-r--r-- | src/ast_utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ast_utils.h b/src/ast_utils.h index 8124d3a79..861a09aaf 100644 --- a/src/ast_utils.h +++ b/src/ast_utils.h @@ -25,8 +25,11 @@ namespace wasm { +// Finds if there are breaks targeting a name. Note that since names are +// unique in our IR, we just need to look for the name, and do not need +// to analyze scoping. struct BreakSeeker : public PostWalker<BreakSeeker, Visitor<BreakSeeker>> { - Name target; // look for this one XXX looking by name may fall prey to duplicate names + Name target; Index found; WasmType valueType; |