summaryrefslogtreecommitdiff
path: root/test/spec/forward.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/forward.wast')
-rw-r--r--test/spec/forward.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/spec/forward.wast b/test/spec/forward.wast
index 43ab49348..6cf94dc9e 100644
--- a/test/spec/forward.wast
+++ b/test/spec/forward.wast
@@ -1,15 +1,15 @@
(module
(func $even (export "even") (param $n i32) (result i32)
- (if i32 (i32.eq (get_local $n) (i32.const 0))
+ (if i32 (i32.eq (local.get $n) (i32.const 0))
(i32.const 1)
- (call $odd (i32.sub (get_local $n) (i32.const 1)))
+ (call $odd (i32.sub (local.get $n) (i32.const 1)))
)
)
(func $odd (export "odd") (param $n i32) (result i32)
- (if i32 (i32.eq (get_local $n) (i32.const 0))
+ (if i32 (i32.eq (local.get $n) (i32.const 0))
(i32.const 0)
- (call $even (i32.sub (get_local $n) (i32.const 1)))
+ (call $even (i32.sub (local.get $n) (i32.const 1)))
)
)
)