summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-05 18:04:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-05 18:04:44 -0800
commit2b38d9587a5dff98f918ccf7d1112e8db2b357fe (patch)
treebdd63f5cda005040791411081ed010aca9240cba /test
parent538e2d9813dd46e76aa226143b978f2b1acfb8e6 (diff)
downloadbinaryen-2b38d9587a5dff98f918ccf7d1112e8db2b357fe.tar.gz
binaryen-2b38d9587a5dff98f918ccf7d1112e8db2b357fe.tar.bz2
binaryen-2b38d9587a5dff98f918ccf7d1112e8db2b357fe.zip
start to fix up invalid names for js in wasm2asm
Diffstat (limited to 'test')
-rw-r--r--test/unit.2asm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit.2asm.js b/test/unit.2asm.js
index daf81c3b8..cc69449e7 100644
--- a/test/unit.2asm.js
+++ b/test/unit.2asm.js
@@ -61,7 +61,7 @@ function asmFunc() {
function conversions() {
var i = 0, d = 0.0;
{
- i = f64-to-int(d) | 0;
+ i = f64_to_int(d) | 0;
d = +i;
d = +((i >>> 0 | 0) >>> 0);
}
@@ -100,7 +100,7 @@ function asmFunc() {
}
function frem() {
- return +f64-rem(5.5, 1.2);
+ return +f64_rem(5.5, 1.2);
}
function big_uint_div_u() {