diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 11:52:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 11:52:07 -0700 |
commit | 5494c531db30145e7bf8745b46e9784967781616 (patch) | |
tree | 6fcee181299b67ffeb5e4191e9f0c26a3d06fbc0 /src/js/binaryen.idl | |
parent | a2b0849ab7e2ca0d6136c57db7321d20965b89f4 (diff) | |
download | binaryen-5494c531db30145e7bf8745b46e9784967781616.tar.gz binaryen-5494c531db30145e7bf8745b46e9784967781616.tar.bz2 binaryen-5494c531db30145e7bf8745b46e9784967781616.zip |
remove the AllocatingModule class, and just make Module have allocations. the distinction is not really that useful, and passes do need to allocate, so we would need to pass around AllocatingModules all around anyhow. (#361)
Diffstat (limited to 'src/js/binaryen.idl')
-rw-r--r-- | src/js/binaryen.idl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/js/binaryen.idl b/src/js/binaryen.idl index 3b52b5912..3d0116db9 100644 --- a/src/js/binaryen.idl +++ b/src/js/binaryen.idl @@ -13,12 +13,6 @@ interface Name { interface Module { }; -interface AllocatingModule { - void AllocatingModule(); -}; - -AllocatingModule implements Module; - [Prefix="ModuleInstance::", NoDelete] interface ExternalInterface { }; @@ -63,7 +57,7 @@ interface SExpressionParser { }; interface SExpressionWasmBuilder { - void SExpressionWasmBuilder([Ref] AllocatingModule wasm, [Ref] Element input, boolean debug); + void SExpressionWasmBuilder([Ref] Module wasm, [Ref] Element input, boolean debug); }; // Wasm printing |