From 305834878797b729a67a88fb2cf75e4cd84e030b Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sun, 11 Aug 2019 13:02:31 +0200 Subject: [PATCH] add constant for "wasm.use_gc" --- src/de/inetsoftware/jwebassembly/JWebAssembly.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/de/inetsoftware/jwebassembly/JWebAssembly.java b/src/de/inetsoftware/jwebassembly/JWebAssembly.java index 5c8e063..b532f47 100644 --- a/src/de/inetsoftware/jwebassembly/JWebAssembly.java +++ b/src/de/inetsoftware/jwebassembly/JWebAssembly.java @@ -79,6 +79,11 @@ public class JWebAssembly { */ public static final String REPLACE_ANNOTATION = "de.inetsoftware.jwebassembly.api.annotation.Replace"; + /** + * If the GC feature of WASM should be use or the GC of the JavaScript host. If true use the GC instructions of WASM. + */ + public static final String WASM_USE_GC = "wasm.use_gc"; + /** * The logger instance */