From 5d9ff4e46b595a5f20aa4732256462609a9614ea Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 12 Sep 2018 09:45:34 -0700 Subject: remove PageSize and HasFeature, which wasm removed a while back (#1667) From #1665 (a fuzz bug noticed they were not handled in stack.h). --- src/js/binaryen.js-post.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/js/binaryen.js-post.js') 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, -- cgit v1.2.3