diff options
Diffstat (limited to 'test/ctor-eval')
-rw-r--r-- | test/ctor-eval/gc-array.wast | 4 | ||||
-rw-r--r-- | test/ctor-eval/gc-array.wast.out | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/ctor-eval/gc-array.wast b/test/ctor-eval/gc-array.wast index 8f6731821..316230e13 100644 --- a/test/ctor-eval/gc-array.wast +++ b/test/ctor-eval/gc-array.wast @@ -5,7 +5,7 @@ ;; This global will remain as it is. (global $global1 (ref $array) - (array.init_static $array + (array.new_fixed $array (i32.const 10) (i32.const 20) (i32.const 30) @@ -14,7 +14,7 @@ ) (global $global2 (ref $array) - (array.init_static $array + (array.new_fixed $array (i32.const 42) ;; This location will be written with a new value, 1337 (i32.const 0) diff --git a/test/ctor-eval/gc-array.wast.out b/test/ctor-eval/gc-array.wast.out index 8da67f758..27be809ba 100644 --- a/test/ctor-eval/gc-array.wast.out +++ b/test/ctor-eval/gc-array.wast.out @@ -1,13 +1,13 @@ (module (type $array (array (mut i32))) (type $none_=>_i32 (func (result i32))) - (global $global1 (ref $array) (array.init_static $array + (global $global1 (ref $array) (array.new_fixed $array (i32.const 10) (i32.const 20) (i32.const 30) (i32.const 40) )) - (global $global2 (ref $array) (array.init_static $array + (global $global2 (ref $array) (array.new_fixed $array (i32.const 42) (i32.const 1337) )) |