summaryrefslogtreecommitdiff
path: root/test/lld/reserved_func_ptr.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lld/reserved_func_ptr.wast')
-rw-r--r--test/lld/reserved_func_ptr.wast34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/lld/reserved_func_ptr.wast b/test/lld/reserved_func_ptr.wast
index b3c6fd9b3..426412b77 100644
--- a/test/lld/reserved_func_ptr.wast
+++ b/test/lld/reserved_func_ptr.wast
@@ -10,7 +10,7 @@
(global $global$0 (mut i32) (i32.const 66112))
(global $global$1 i32 (i32.const 66112))
(global $global$2 i32 (i32.const 568))
- (table 3 3 anyfunc)
+ (table 3 3 funcref)
(elem (i32.const 1) $_Z18address_taken_funciii $_Z19address_taken_func2iii)
(memory $0 2)
(export "memory" (memory $0))
@@ -27,53 +27,53 @@
(local $var$3 i32)
(local $var$4 i32)
(local $var$5 i32)
- (set_local $var$2
+ (local.set $var$2
(call $_Z4atoiPKc
(i32.load offset=4
- (get_local $var$1)
+ (local.get $var$1)
)
)
)
- (set_local $var$3
+ (local.set $var$3
(call $_Z4atoiPKc
(i32.load offset=8
- (get_local $var$1)
+ (local.get $var$1)
)
)
)
- (set_local $var$4
+ (local.set $var$4
(call $_Z4atoiPKc
(i32.load offset=12
- (get_local $var$1)
+ (local.get $var$1)
)
)
)
- (set_local $var$5
+ (local.set $var$5
(call $_Z4atoiPKc
(i32.load offset=16
- (get_local $var$1)
+ (local.get $var$1)
)
)
)
- (set_local $var$1
+ (local.set $var$1
(call $_Z4atoiPKc
(i32.load offset=20
- (get_local $var$1)
+ (local.get $var$1)
)
)
)
(call_indirect (type $0)
- (get_local $var$2)
+ (local.get $var$2)
)
(call_indirect (type $1)
(i32.const 3)
- (get_local $var$3)
+ (local.get $var$3)
)
(drop
(call_indirect (type $2)
(i32.const 4)
(i32.const 5)
- (get_local $var$4)
+ (local.get $var$4)
)
)
(drop
@@ -81,14 +81,14 @@
(f32.const 3.0999999046325684)
(f32.const 4.199999809265137)
(i32.const 5)
- (get_local $var$5)
+ (local.get $var$5)
)
)
(drop
(call_indirect (type $4)
(f64.const 4.2)
(i32.const 5)
- (get_local $var$1)
+ (local.get $var$1)
)
)
(call_indirect (type $5)
@@ -99,7 +99,7 @@
(i32.const 1)
(i32.const 2)
(i32.gt_s
- (get_local $var$0)
+ (local.get $var$0)
(i32.const 3)
)
)