diff options
Diffstat (limited to 'test/passes/instrument-locals.wast')
-rw-r--r-- | test/passes/instrument-locals.wast | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/passes/instrument-locals.wast b/test/passes/instrument-locals.wast index b7e34c6d6..f96399d02 100644 --- a/test/passes/instrument-locals.wast +++ b/test/passes/instrument-locals.wast @@ -5,25 +5,25 @@ (local $z f32) (local $w f64) - (drop (get_local $x)) - (drop (get_local $y)) - (drop (get_local $z)) - (drop (get_local $w)) + (drop (local.get $x)) + (drop (local.get $y)) + (drop (local.get $z)) + (drop (local.get $w)) - (drop (get_local $x)) - (drop (get_local $y)) - (drop (get_local $z)) - (drop (get_local $w)) + (drop (local.get $x)) + (drop (local.get $y)) + (drop (local.get $z)) + (drop (local.get $w)) - (set_local $x (i32.const 1)) - (set_local $y (i64.const 2)) - (set_local $z (f32.const 3.21)) - (set_local $w (f64.const 4.321)) + (local.set $x (i32.const 1)) + (local.set $y (i64.const 2)) + (local.set $z (f32.const 3.21)) + (local.set $w (f64.const 4.321)) - (set_local $x (i32.const 11)) - (set_local $y (i64.const 22)) - (set_local $z (f32.const 33.21)) - (set_local $w (f64.const 44.321)) + (local.set $x (i32.const 11)) + (local.set $y (i64.const 22)) + (local.set $z (f32.const 33.21)) + (local.set $w (f64.const 44.321)) ) ) |