diff options
Diffstat (limited to 'test/spec/resizing.wast')
-rw-r--r-- | test/spec/resizing.wast | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/spec/resizing.wast b/test/spec/resizing.wast index c24b7ec1a..b340bb4ea 100644 --- a/test/spec/resizing.wast +++ b/test/spec/resizing.wast @@ -7,7 +7,7 @@ (func (export "load_at_page_size") (result i32) (i32.load (i32.const 0x10000))) (func (export "store_at_page_size") (i32.store (i32.const 0x10000) (i32.const 3))) - (func (export "grow") (param $sz i32) (result i32) (grow_memory (get_local $sz))) + (func (export "grow") (param $sz i32) (result i32) (grow_memory (local.get $sz))) (func (export "size") (result i32) (current_memory)) ) @@ -35,7 +35,7 @@ (module (memory 0) - (func (export "grow") (param i32) (result i32) (grow_memory (get_local 0))) + (func (export "grow") (param i32) (result i32) (grow_memory (local.get 0))) ) (assert_return (invoke "grow" (i32.const 0)) (i32.const 0)) @@ -46,7 +46,7 @@ (module (memory 0 10) - (func (export "grow") (param i32) (result i32) (grow_memory (get_local 0))) + (func (export "grow") (param i32) (result i32) (grow_memory (local.get 0))) ) (assert_return (invoke "grow" (i32.const 0)) (i32.const 0)) |