summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dylib.wasm.fromBinary2
-rw-r--r--test/merge/dylib.wasm.combined2
-rw-r--r--test/merge/dylib.wasm.combined.finalized2
-rw-r--r--test/merge/dylib.wasm.combined.finalized.opt2
-rw-r--r--test/merge/dylib.wasm.combined.opt2
-rw-r--r--test/unit.wast.fromBinary10
6 files changed, 10 insertions, 10 deletions
diff --git a/test/dylib.wasm.fromBinary b/test/dylib.wasm.fromBinary
index e2c0ba394..aae9b0372 100644
--- a/test/dylib.wasm.fromBinary
+++ b/test/dylib.wasm.fromBinary
@@ -3,10 +3,10 @@
(type $1 (func (result i32)))
(type $2 (func))
(import "env" "memoryBase" (global $import$0 i32))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 0 anyfunc))
(import "env" "tableBase" (global $import$4 i32))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(global $global$0 (mut i32) (i32.const 0))
(global $global$1 (mut i32) (i32.const 0))
(global $global$2 i32 (i32.const 0))
diff --git a/test/merge/dylib.wasm.combined b/test/merge/dylib.wasm.combined
index 90905ac0c..df76e61bf 100644
--- a/test/merge/dylib.wasm.combined
+++ b/test/merge/dylib.wasm.combined
@@ -7,10 +7,10 @@
(type $1$0 (func (result i32)))
(type $2$0 (func))
(import "env" "memoryBase" (global $import$0 i32))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 0 anyfunc))
(import "env" "tableBase" (global $import$4 i32))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memoryBase" (global $import$0$0 i32))
(import "env" "tableBase" (global $import$4$0 i32))
(global $global$0 (mut i32) (i32.const 0))
diff --git a/test/merge/dylib.wasm.combined.finalized b/test/merge/dylib.wasm.combined.finalized
index ce81b7652..a60c12ea4 100644
--- a/test/merge/dylib.wasm.combined.finalized
+++ b/test/merge/dylib.wasm.combined.finalized
@@ -7,10 +7,10 @@
(type $1$0 (func (result i32)))
(type $2$0 (func))
(import "env" "memoryBase" (global $import$0 i32))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 8 anyfunc))
(import "env" "tableBase" (global $import$4 i32))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memoryBase" (global $import$0$0 i32))
(import "env" "tableBase" (global $import$4$0 i32))
(global $global$0 (mut i32) (i32.const 0))
diff --git a/test/merge/dylib.wasm.combined.finalized.opt b/test/merge/dylib.wasm.combined.finalized.opt
index 61896fd78..37a66bea8 100644
--- a/test/merge/dylib.wasm.combined.finalized.opt
+++ b/test/merge/dylib.wasm.combined.finalized.opt
@@ -2,9 +2,9 @@
(type $1 (func (param i32) (result i32)))
(type $2 (func (result i32)))
(type $3 (func))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 8 anyfunc))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(global $global$0 (mut i32) (i32.const 0))
(global $global$1 (mut i32) (i32.const 0))
(global $global$2 i32 (i32.const 0))
diff --git a/test/merge/dylib.wasm.combined.opt b/test/merge/dylib.wasm.combined.opt
index a2c98417b..316bb2121 100644
--- a/test/merge/dylib.wasm.combined.opt
+++ b/test/merge/dylib.wasm.combined.opt
@@ -3,10 +3,10 @@
(type $2 (func (result i32)))
(type $3 (func))
(import "env" "memoryBase" (global $import$0 i32))
- (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memory" (memory $0 256))
(import "env" "table" (table 0 anyfunc))
(import "env" "tableBase" (global $import$4 i32))
+ (import "env" "_puts" (func $import$1 (param i32) (result i32)))
(import "env" "memoryBase" (global $import$0$0 i32))
(global $global$0 (mut i32) (i32.const 0))
(global $global$1 (mut i32) (i32.const 0))
diff --git a/test/unit.wast.fromBinary b/test/unit.wast.fromBinary
index 827fd5e6f..fc06a7c11 100644
--- a/test/unit.wast.fromBinary
+++ b/test/unit.wast.fromBinary
@@ -9,9 +9,9 @@
(type $7 (func (param f64) (result f64)))
(type $8 (func (result i64)))
(type $9 (func (param i32 i64)))
- (import "env" "_emscripten_asm_const_vi" (func $import$0))
- (import "asm2wasm" "f64-to-int" (func $import$1 (param f64) (result i32)))
- (import "asm2wasm" "f64-rem" (func $import$2 (param f64 f64) (result f64)))
+ (import "env" "_emscripten_asm_const_vi" (func $_emscripten_asm_const_vi))
+ (import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32)))
+ (import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
(table 10 anyfunc)
(elem (i32.const 0) $z $big_negative $z $z $w $w $importedDoubles $w $z $cneg)
(memory $0 4096 4096)
@@ -153,7 +153,7 @@
(local $var$0 i32)
(local $var$1 f64)
(set_local $var$0
- (call $import$1
+ (call $f64-to-int
(get_local $var$1)
)
)
@@ -274,7 +274,7 @@
)
)
(func $frem (; 12 ;) (type $4) (result f64)
- (call $import$2
+ (call $f64-rem
(f64.const 5.5)
(f64.const 1.2)
)