diff options
author | Heejin Ahn <aheejin@gmail.com> | 2020-01-06 13:11:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 13:11:06 -0800 |
commit | 44c3c2d4e71686d42b7eff8ab9c554f83a9fe71e (patch) | |
tree | 085b86836964ff161ff7eb26783c139cb038ee5c /test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt | |
parent | 591914d8de144cf76432e6fec7dbfb510366cabb (diff) | |
download | binaryen-44c3c2d4e71686d42b7eff8ab9c554f83a9fe71e.tar.gz binaryen-44c3c2d4e71686d42b7eff8ab9c554f83a9fe71e.tar.bz2 binaryen-44c3c2d4e71686d42b7eff8ab9c554f83a9fe71e.zip |
Do not print push/pop in stack IR (#2571)
This makes push and pop instructions not printed in the stack IR format
to make it valid wat form. Push and pop are still generated in the stack
IR in memory but not printed in the text format.
Diffstat (limited to 'test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt')
-rw-r--r-- | test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt index 4a5f8e8ee..bb031c48b 100644 --- a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt +++ b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt @@ -8,7 +8,7 @@ i32.const 0 throw $e0 catch - exnref.pop + local.set $exn block $l0 (result i32) local.get $exn |