From 21e08eeef1ccc489cd06495e4370e1dffccfe088 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 27 Jun 2017 14:24:21 -0700 Subject: Add shared memories (#1069) Begin to implement wasm threading proposal in https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md This PR just has shared memory attribute with wast and binary support. --- src/wasm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wasm.h') diff --git a/src/wasm.h b/src/wasm.h index f1f16a469..56432faf9 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -632,8 +632,9 @@ public: // See comment in Table. bool exists; bool imported; + bool shared; - Memory() : initial(0), max(kMaxSize), exists(false), imported(false) { + Memory() : initial(0), max(kMaxSize), exists(false), imported(false), shared(false) { name = Name::fromInt(0); } }; -- cgit v1.2.3