diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-15 21:36:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-12-07 16:50:04 -1000 |
commit | 98e9e604c7e2e4f928abe8f05691df90cddf09e4 (patch) | |
tree | 9497de28012c109ae0e6e958aca8968e8a3d97cf /test/example | |
parent | 49bdfd20094e909fb6f4ea989e2a2cbfe01e8741 (diff) | |
download | binaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.tar.gz binaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.tar.bz2 binaryen-98e9e604c7e2e4f928abe8f05691df90cddf09e4.zip |
add a RemoveUnusedModuleElements pass, and make LegalizeJSInterface create TempRet0 if needed (otherwise we might remove it before we use it)
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt.txt | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 1de260b20..4eee5c0c0 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -1028,7 +1028,6 @@ optimized: (type $v (func)) (type $vi (func (param i32))) (type $i (func (result i32))) - (import "module" "check" (func $check (param i32))) (memory $0 0) ) module loaded from binary form: @@ -2886,7 +2885,6 @@ optimized: (type $v (func)) (type $vi (func (param i32))) (type $i (func (result i32))) - (import "module" "check" (func $check (param i32))) (memory $0 0) ) BinaryenModuleDispose(the_module); diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt index 16e4941d3..cbccff232 100644 --- a/test/example/c-api-kitchen-sink.txt.txt +++ b/test/example/c-api-kitchen-sink.txt.txt @@ -1021,6 +1021,5 @@ (type $v (func)) (type $vi (func (param i32))) (type $i (func (result i32))) - (import "module" "check" (func $check (param i32))) (memory $0 0) ) |