summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/load.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/llvm_autogenerated/load.wast')
-rw-r--r--test/llvm_autogenerated/load.wast18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/llvm_autogenerated/load.wast b/test/llvm_autogenerated/load.wast
index 475cd5a4c..c4dba6da5 100644
--- a/test/llvm_autogenerated/load.wast
+++ b/test/llvm_autogenerated/load.wast
@@ -1,6 +1,6 @@
(module
(import "env" "memory" (memory $0 1))
- (table 0 anyfunc)
+ (table 0 funcref)
(data (i32.const 4) "\10\04\00\00")
(export "ldi32" (func $ldi32))
(export "ldi64" (func $ldi64))
@@ -12,28 +12,28 @@
(func $ldi32 (; 0 ;) (param $0 i32) (result i32)
(return
(i32.load
- (get_local $0)
+ (local.get $0)
)
)
)
(func $ldi64 (; 1 ;) (param $0 i32) (result i64)
(return
(i64.load
- (get_local $0)
+ (local.get $0)
)
)
)
(func $ldf32 (; 2 ;) (param $0 i32) (result f32)
(return
(f32.load
- (get_local $0)
+ (local.get $0)
)
)
)
(func $ldf64 (; 3 ;) (param $0 i32) (result f64)
(return
(f64.load
- (get_local $0)
+ (local.get $0)
)
)
)
@@ -46,24 +46,24 @@
(local $1 i32)
(i32.store offset=4
(i32.const 0)
- (tee_local $1
+ (local.tee $1
(i32.and
(i32.sub
(i32.load offset=4
(i32.const 0)
)
- (get_local $0)
+ (local.get $0)
)
(i32.const -16)
)
)
)
- (get_local $1)
+ (local.get $1)
)
(func $stackRestore (; 6 ;) (param $0 i32)
(i32.store offset=4
(i32.const 0)
- (get_local $0)
+ (local.get $0)
)
)
)