diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-30 00:15:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 00:15:33 +0200 |
commit | 67a96ae60085366b59d64bc997c9e6525c247e27 (patch) | |
tree | 76338e649b18b572c5ad184641c029b16344f0f2 /test/polymorphic_stack.wast.from-wast | |
parent | 7d673ce83206349159a68fe683bc7da02dcdaf98 (diff) | |
download | binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.tar.gz binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.tar.bz2 binaryen-67a96ae60085366b59d64bc997c9e6525c247e27.zip |
Fix applying default / unify SExpr and Wasm builder names (#3179)
SExpressionWasmBuilder was not applying default memory and table import names on the memory and table, unlike on functions, globals and events, where it applies them. Also aligns default import names to use the same shorter forms as in binary parsing.
Diffstat (limited to 'test/polymorphic_stack.wast.from-wast')
-rw-r--r-- | test/polymorphic_stack.wast.from-wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/polymorphic_stack.wast.from-wast b/test/polymorphic_stack.wast.from-wast index 2982761a7..18b991df3 100644 --- a/test/polymorphic_stack.wast.from-wast +++ b/test/polymorphic_stack.wast.from-wast @@ -3,7 +3,7 @@ (type $i32_=>_i32 (func (param i32) (result i32))) (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) - (import "env" "table" (table $0 9 9 funcref)) + (import "env" "table" (table $timport$0 9 9 funcref)) (func $break-and-binary (result i32) (block $x (result i32) (f32.add |