diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wasm.h b/src/wasm.h index d62d4fcab..93c9d8709 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1174,6 +1174,8 @@ public: Memory memory; Name start; + MixedArena allocator; + private: // TODO: add a build option where Names are just indices, and then these methods are not needed std::map<Name, FunctionType*> functionTypesMap; @@ -1257,11 +1259,6 @@ private: size_t functionTypeIndex, importIndex, exportIndex, functionIndex; }; -class AllocatingModule : public Module { - public: - MixedArena allocator; -}; - } // namespace wasm #endif // wasm_wasm_h |