summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.clamp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.clamp')
-rw-r--r--test/unit.fromasm.clamp7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp
index c6c967925..147913b80 100644
--- a/test/unit.fromasm.clamp
+++ b/test/unit.fromasm.clamp
@@ -22,8 +22,7 @@
(import "env" "emscripten_log" (func $emscripten_log))
(import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
(global $Int (mut i32) (i32.const 0))
- (global $Double (mut f64) (f64.const 0))
- (global $n (mut i32) (global.get $n$asm2wasm$import))
+ (global $Double f64 (f64.const 0))
(global $nonZero (mut i32) (i32.const 1337))
(global $exportedNumber i32 (i32.const 42))
(export "big_negative" (func $big_negative))
@@ -121,7 +120,7 @@
)
(if
(i32.gt_s
- (global.get $n)
+ (global.get $n$asm2wasm$import)
(i32.const 0)
)
(return
@@ -493,7 +492,7 @@
(i32.store
(local.get $0)
(i32.add
- (global.get $n)
+ (global.get $n$asm2wasm$import)
(i32.const 144)
)
)