diff options
Diffstat (limited to 'test/threads.wasm-only.fromasm.clamp')
-rw-r--r-- | test/threads.wasm-only.fromasm.clamp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/threads.wasm-only.fromasm.clamp b/test/threads.wasm-only.fromasm.clamp index 4354d349c..87e3cd806 100644 --- a/test/threads.wasm-only.fromasm.clamp +++ b/test/threads.wasm-only.fromasm.clamp @@ -1,7 +1,7 @@ (module (type $FUNCSIG$vi (func (param i32))) (import "env" "memory" (memory $memory (shared 256 256))) - (data (get_global $__memory_base) "threads.wasm-only.asm.js") + (data (global.get $__memory_base) "threads.wasm-only.asm.js") (import "env" "__memory_base" (global $__memory_base i32)) (import "env" "setTempRet0" (func $setTempRet0 (param i32))) (export "test64" (func $legalstub$test64)) @@ -21,10 +21,10 @@ (drop (i64.atomic.rmw.cmpxchg (i32.const 1024) - (tee_local $1 + (local.tee $1 (i64.atomic.rmw.xchg (i32.const 1024) - (tee_local $0 + (local.tee $0 (i64.atomic.rmw.xor (i32.const 1024) (i64.atomic.rmw.or @@ -34,7 +34,7 @@ (i64.atomic.rmw.sub (i32.const 1024) (i64.atomic.rmw.add - (get_local $2) + (local.get $2) (i64.const 26) ) ) @@ -44,26 +44,26 @@ ) ) ) - (get_local $0) + (local.get $0) ) ) - (get_local $1) + (local.get $1) ) (func $legalstub$test64 (; 2 ;) (; has Stack IR ;) (result i32) (local $0 i64) - (set_local $0 + (local.set $0 (call $test64) ) (call $setTempRet0 - (i32.wrap/i64 + (i32.wrap_i64 (i64.shr_u - (get_local $0) + (local.get $0) (i64.const 32) ) ) ) - (i32.wrap/i64 - (get_local $0) + (i32.wrap_i64 + (local.get $0) ) ) ) |