diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-11-15 10:06:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 10:06:39 -0800 |
commit | 622cba9c49378f89ca94e05cbbe2af0b0c62ab44 (patch) | |
tree | 25d4c0d3837fb8b0f84cd2eebee1414011d7c289 /test/debugInfo.fromasm | |
parent | 892d2d747883aca132d2eb4e3ba5a6b261f944af (diff) | |
download | binaryen-622cba9c49378f89ca94e05cbbe2af0b0c62ab44.tar.gz binaryen-622cba9c49378f89ca94e05cbbe2af0b0c62ab44.tar.bz2 binaryen-622cba9c49378f89ca94e05cbbe2af0b0c62ab44.zip |
Don't try to optimize away unused names in RemoveUnusedBrs (#1750)
Rely on the dedicated pass for that. It's not worth the extra complexity to try, as we can't easily handle all the cases anyhow.
Add another run of the dedicated name-removing pass in the default passes.
Diffstat (limited to 'test/debugInfo.fromasm')
-rw-r--r-- | test/debugInfo.fromasm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/debugInfo.fromasm b/test/debugInfo.fromasm index c9eb61d21..895c032eb 100644 --- a/test/debugInfo.fromasm +++ b/test/debugInfo.fromasm @@ -142,7 +142,7 @@ ) (i32.const 1369188723) ) - (block $switch (result i32) + (block (result i32) (br_if $__rjti$0 (i32.eqz (i32.sub @@ -153,7 +153,7 @@ ) (i32.const 0) ) - (block $switch0 (result i32) + (block (result i32) (br_if $__rjti$0 (i32.eqz (i32.sub |