diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-09-12 09:45:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 09:45:34 -0700 |
commit | 5d9ff4e46b595a5f20aa4732256462609a9614ea (patch) | |
tree | 56e57fa1cebd7527866ecd9923e26e828c8b907d /src/js/binaryen.js-post.js | |
parent | 4d737f27edb5e2bb5f514aae800ba9c6ab61ca5a (diff) | |
download | binaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.tar.gz binaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.tar.bz2 binaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.zip |
remove PageSize and HasFeature, which wasm removed a while back (#1667)
From #1665 (a fuzz bug noticed they were not handled in stack.h).
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r-- | src/js/binaryen.js-post.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index f387acb4f..6b5aab0fc 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -196,10 +196,8 @@ Module['LtFloat64'] = Module['_BinaryenLtFloat64'](); Module['LeFloat64'] = Module['_BinaryenLeFloat64'](); Module['GtFloat64'] = Module['_BinaryenGtFloat64'](); Module['GeFloat64'] = Module['_BinaryenGeFloat64'](); -Module['PageSize'] = Module['_BinaryenPageSize'](); Module['CurrentMemory'] = Module['_BinaryenCurrentMemory'](); Module['GrowMemory'] = Module['_BinaryenGrowMemory'](); -Module['HasFeature'] = Module['_BinaryenHasFeature'](); Module['AtomicRMWAdd'] = Module['_BinaryenAtomicRMWAdd'](); Module['AtomicRMWSub'] = Module['_BinaryenAtomicRMWSub'](); Module['AtomicRMWAnd'] = Module['_BinaryenAtomicRMWAnd'](); @@ -283,9 +281,6 @@ Module['Module'] = function(module) { this['growMemory'] = this['grow_memory'] = function(value) { return Module['_BinaryenHost'](module, Module['GrowMemory'], null, i32sToStack([value]), 1); } - this['hasFeature'] = this['has_feature'] = function(name) { - return Module['_BinaryenHost'](module, Module['HasFeature'], strToStack(name)); - } // The Const creation API is a little different: we don't want users to // need to make their own Literals, as the C API handles them by value, |