diff options
Diffstat (limited to 'test/lit/ctor-eval')
-rw-r--r-- | test/lit/ctor-eval/extern.wast | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lit/ctor-eval/extern.wast b/test/lit/ctor-eval/extern.wast index 9a8779abf..9591f9034 100644 --- a/test/lit/ctor-eval/extern.wast +++ b/test/lit/ctor-eval/extern.wast @@ -16,7 +16,7 @@ ;; This will remain almost the same, even though we eval it, since the ;; serialization of an externalized i31 is what is written here. But the add ;; will be evalled out. - (extern.externalize + (extern.convert_any (ref.i31 (i32.add (i32.const 41) @@ -28,7 +28,7 @@ (func $test2 (result externref) ;; This will be evalled into an externalization of a global.get. - (extern.externalize + (extern.convert_any (array.new_fixed $array 3 (i32.const 1) (i32.const 2) @@ -40,7 +40,7 @@ (func $test3 (result anyref) ;; This will add a global that contains an externalization operation. (struct.new $struct - (extern.externalize + (extern.convert_any (ref.i31 (i32.const 1) ) @@ -60,7 +60,7 @@ ;; CHECK-NEXT: )) ;; CHECK: (global $ctor-eval$global_1 (ref $struct) (struct.new $struct -;; CHECK-NEXT: (extern.externalize +;; CHECK-NEXT: (extern.convert_any ;; CHECK-NEXT: (ref.i31 ;; CHECK-NEXT: (i32.const 1) ;; CHECK-NEXT: ) @@ -74,7 +74,7 @@ ;; CHECK: (export "test3" (func $test3_5)) ;; CHECK: (func $test1_3 (type $2) (result externref) -;; CHECK-NEXT: (extern.externalize +;; CHECK-NEXT: (extern.convert_any ;; CHECK-NEXT: (ref.i31 ;; CHECK-NEXT: (i32.const 42) ;; CHECK-NEXT: ) @@ -82,7 +82,7 @@ ;; CHECK-NEXT: ) ;; CHECK: (func $test2_4 (type $2) (result externref) -;; CHECK-NEXT: (extern.externalize +;; CHECK-NEXT: (extern.convert_any ;; CHECK-NEXT: (global.get $ctor-eval$global) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) |