From 26d3eaada5e8f386b4cfff64461792824c9ff596 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 13 Jan 2023 10:06:56 -0800 Subject: Move closed world flag to tool options (#5428) This allows tools like wasm-reduce to be told to operate in closed-world mode. That lets them validate in the more strict way of that mode. --- test/lit/help/wasm2js.test | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/lit/help/wasm2js.test') diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test index ab56ff4e8..e023c2af5 100644 --- a/test/lit/help/wasm2js.test +++ b/test/lit/help/wasm2js.test @@ -523,15 +523,6 @@ ;; CHECK-NEXT: corner cases of NaNs and ;; CHECK-NEXT: rounding ;; CHECK-NEXT: -;; CHECK-NEXT: --closed-world,-cw Assume code outside of the -;; CHECK-NEXT: module does not inspect or -;; CHECK-NEXT: interact with GC and function -;; CHECK-NEXT: references, even if they are -;; CHECK-NEXT: passed out. The outside may hold -;; CHECK-NEXT: on to them and pass them back -;; CHECK-NEXT: in, but not inspect their -;; CHECK-NEXT: contents or call them. -;; CHECK-NEXT: ;; CHECK-NEXT: --zero-filled-memory,-uim Assume that an imported memory ;; CHECK-NEXT: will be zero-initialized ;; CHECK-NEXT: @@ -646,6 +637,15 @@ ;; CHECK-NEXT: be parsed using the isorecursive ;; CHECK-NEXT: hybrid type system. ;; CHECK-NEXT: +;; CHECK-NEXT: --closed-world,-cw Assume code outside of the +;; CHECK-NEXT: module does not inspect or +;; CHECK-NEXT: interact with GC and function +;; CHECK-NEXT: references, even if they are +;; CHECK-NEXT: passed out. The outside may hold +;; CHECK-NEXT: on to them and pass them back +;; CHECK-NEXT: in, but not inspect their +;; CHECK-NEXT: contents or call them. +;; CHECK-NEXT: ;; CHECK-NEXT: ;; CHECK-NEXT: General options: ;; CHECK-NEXT: ---------------- -- cgit v1.2.3