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.imprecise | |
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.imprecise')
-rw-r--r-- | test/debugInfo.fromasm.imprecise | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/debugInfo.fromasm.imprecise b/test/debugInfo.fromasm.imprecise index a52606e16..a0468d1f5 100644 --- a/test/debugInfo.fromasm.imprecise +++ b/test/debugInfo.fromasm.imprecise @@ -129,7 +129,7 @@ ) (i32.const 1369188723) ) - (block $switch (result i32) + (block (result i32) (br_if $__rjti$0 (i32.eqz (i32.sub @@ -140,7 +140,7 @@ ) (i32.const 0) ) - (block $switch0 (result i32) + (block (result i32) (br_if $__rjti$0 (i32.eqz (i32.sub |