summaryrefslogtreecommitdiff
path: root/test/binaryen.js/functions.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-11-16 09:22:57 -0800
committerGitHub <noreply@github.com>2017-11-16 09:22:57 -0800
commitdcdaa5de3b2c63a1349faacfe921527d972fc95c (patch)
tree74c88ccd054b2c419e0c76827e566b8d08f7d5b3 /test/binaryen.js/functions.js
parent27474b7482ad2673ef3c9aca09aa443769e7447f (diff)
downloadbinaryen-dcdaa5de3b2c63a1349faacfe921527d972fc95c.tar.gz
binaryen-dcdaa5de3b2c63a1349faacfe921527d972fc95c.tar.bz2
binaryen-dcdaa5de3b2c63a1349faacfe921527d972fc95c.zip
Fix if copying (#1278)
* fix if copying - we should preserve the forced explicit type if there is one, and not just infer it from the arms. this adds a builder method for makeIf that receives a type to apply to the if, and for blocks a method that makes a block from a list, also with a variant with a provided type
Diffstat (limited to 'test/binaryen.js/functions.js')
0 files changed, 0 insertions, 0 deletions