summaryrefslogtreecommitdiff
path: root/test/polymorphic_stack.wast.fromBinary
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-09-30 00:15:33 +0200
committerGitHub <noreply@github.com>2020-09-30 00:15:33 +0200
commit67a96ae60085366b59d64bc997c9e6525c247e27 (patch)
tree76338e649b18b572c5ad184641c029b16344f0f2 /test/polymorphic_stack.wast.fromBinary
parent7d673ce83206349159a68fe683bc7da02dcdaf98 (diff)
downloadbinaryen-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.fromBinary')
-rw-r--r--test/polymorphic_stack.wast.fromBinary2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/polymorphic_stack.wast.fromBinary b/test/polymorphic_stack.wast.fromBinary
index 8a3b92d6e..1265bd080 100644
--- a/test/polymorphic_stack.wast.fromBinary
+++ b/test/polymorphic_stack.wast.fromBinary
@@ -3,7 +3,7 @@
(type $none_=>_none (func))
(type $i32_=>_i32 (func (param i32) (result i32)))
(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 $label$1 (result i32)
(unreachable)