summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/dot_s/asm_const.wast2
-rw-r--r--test/dot_s/basics.wast4
-rw-r--r--test/dot_s/call.wast2
-rw-r--r--test/dot_s/data-offset-folding.wast2
-rw-r--r--test/dot_s/f32.wast4
-rw-r--r--test/dot_s/f64.wast4
-rw-r--r--test/dot_s/frem.wast4
-rw-r--r--test/dot_s/memops.s6
-rw-r--r--test/dot_s/memops.wast2
9 files changed, 15 insertions, 15 deletions
diff --git a/test/dot_s/asm_const.wast b/test/dot_s/asm_const.wast
index 99fe21995..ca3624073 100644
--- a/test/dot_s/asm_const.wast
+++ b/test/dot_s/asm_const.wast
@@ -1,5 +1,5 @@
(module
- (memory 0 4294967295 (segment 16 "{ Module.print(\"hello, world!\"); }\00"))
+ (memory 51 4294967295 (segment 16 "{ Module.print(\"hello, world!\"); }\00"))
(import $_emscripten_asm_const_vi "env" "_emscripten_asm_const_vi")
(export "main" $main)
(func $main (result i32)
diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast
index 7e59854d8..22691644a 100644
--- a/test/dot_s/basics.wast
+++ b/test/dot_s/basics.wast
@@ -1,5 +1,5 @@
(module
- (memory 0 4294967295 (segment 16 "hello, world!\n\00") (segment 32 "vcq"))
+ (memory 35 4294967295 (segment 16 "hello, world!\n\00") (segment 32 "vcq"))
(import $puts "env" "puts")
(export "main" $main)
(table $main)
@@ -85,7 +85,7 @@
(i32.const -12)
)
)
- (i32.const 1)
+ (i32.const 0)
)
(br $fake_return_waka123
(get_local $$0)
diff --git a/test/dot_s/call.wast b/test/dot_s/call.wast
index 40ab83553..64e408ce0 100644
--- a/test/dot_s/call.wast
+++ b/test/dot_s/call.wast
@@ -81,8 +81,8 @@
(block
(br $fake_return_waka123
(call_import $i32_binary
- (get_local $$1)
(get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/dot_s/data-offset-folding.wast b/test/dot_s/data-offset-folding.wast
index 059d0e41c..7a24d7176 100644
--- a/test/dot_s/data-offset-folding.wast
+++ b/test/dot_s/data-offset-folding.wast
@@ -1,4 +1,4 @@
(module
- (memory 0 4294967295 (segment 4 "\00\00\00\00") (segment 416 "`\00\00\00"))
+ (memory 420 4294967295 (segment 4 "\00\00\00\00") (segment 416 "`\00\00\00"))
)
;; METADATA: { "asmConsts": {},"staticBump": 419 }
diff --git a/test/dot_s/f32.wast b/test/dot_s/f32.wast
index aa0ec5920..81ee15c04 100644
--- a/test/dot_s/f32.wast
+++ b/test/dot_s/f32.wast
@@ -194,9 +194,9 @@
(block
(br $fake_return_waka123
(call_import $fmaf
- (get_local $$2)
- (get_local $$1)
(get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/dot_s/f64.wast b/test/dot_s/f64.wast
index 5b8de4546..cb5be67e5 100644
--- a/test/dot_s/f64.wast
+++ b/test/dot_s/f64.wast
@@ -194,9 +194,9 @@
(block
(br $fake_return_waka123
(call_import $fma
- (get_local $$2)
- (get_local $$1)
(get_local $$0)
+ (get_local $$1)
+ (get_local $$2)
)
)
)
diff --git a/test/dot_s/frem.wast b/test/dot_s/frem.wast
index 8ba5ad97d..bd60de20b 100644
--- a/test/dot_s/frem.wast
+++ b/test/dot_s/frem.wast
@@ -9,8 +9,8 @@
(block
(br $fake_return_waka123
(call_import $fmodf
- (get_local $$1)
(get_local $$0)
+ (get_local $$1)
)
)
)
@@ -21,8 +21,8 @@
(block
(br $fake_return_waka123
(call_import $fmod
- (get_local $$1)
(get_local $$0)
+ (get_local $$1)
)
)
)
diff --git a/test/dot_s/memops.s b/test/dot_s/memops.s
index cf8d1db38..08e5c8c4b 100644
--- a/test/dot_s/memops.s
+++ b/test/dot_s/memops.s
@@ -18,11 +18,11 @@ main: # @main
.result i32
.local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # XXX this was 1 short in the backend output, an extra one was added manually
# BB#0:
- i32.const $7=, __stack_pointer
+ i32.const $7=, 0
i32.load $7=, 0($7)
i32.const $8=, 1048576
i32.sub $12=, $7, $8
- i32.const $8=, __stack_pointer
+ i32.const $8=, 0
i32.store $12=, 0($8), $12
i32.const $1=, 0
copy_local $0=, $1
@@ -79,7 +79,7 @@ BB1_5:
i32.const $push17=, 0
i32.const $9=, 1048576
i32.add $12=, $12, $9
- i32.const $9=, __stack_pointer
+ i32.const $9=, 0
i32.store $12=, 0($9), $12
return $pop17
func_end1:
diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast
index 6f0c884f4..b4bc16cc6 100644
--- a/test/dot_s/memops.wast
+++ b/test/dot_s/memops.wast
@@ -1,5 +1,5 @@
(module
- (memory 0 4294967295 (segment 16 "{ Module.print(\"hello, world! \" + HEAP32[8>>2]); }\00"))
+ (memory 67 4294967295 (segment 16 "{ Module.print(\"hello, world! \" + HEAP32[8>>2]); }\00"))
(import $_emscripten_asm_const_vi "env" "_emscripten_asm_const_vi")
(export "_Z6reporti" $_Z6reporti)
(export "main" $main)