From eeb838155dbff2fb6731f1ae5550cbb9494532fe Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 28 Nov 2022 16:47:04 -0800 Subject: Add a placeholder closed-world flag (#5298) The flag does nothing so far. --- test/lit/help/wasm2js.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/lit/help/wasm2js.test') diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test index 16c6c45fc..270f03fbf 100644 --- a/test/lit/help/wasm2js.test +++ b/test/lit/help/wasm2js.test @@ -510,6 +510,15 @@ ;; 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: -- cgit v1.2.3