diff options
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r-- | src/js/binaryen.js-post.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index 1902bddfa..8a2d60a2f 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -97,7 +97,6 @@ function initializeConstants() { 'BrOnExn', 'TupleMake', 'TupleExtract', - 'Push', 'Pop' ].forEach(function(name) { Module['ExpressionIds'][name] = Module[name + 'Id'] = Module['_Binaryen' + name + 'Id'](); @@ -2119,9 +2118,6 @@ function wrapModule(module, self) { return Module['_BinaryenBrOnExn'](module, strToStack(label), strToStack(event_), exnref); }); }; - self['push'] = function(value) { - return Module['_BinaryenPush'](module, value); - }; self['tuple'] = { 'make': function(elements) { @@ -2869,11 +2865,6 @@ Module['getExpressionInfo'] = function(expr) { 'tuple': Module['_BinaryenTupleExtractGetTuple'](expr), 'index': Module['_BinaryenTupleExtractGetIndex'](expr) }; - case Module['PushId']: - return { - 'id': id, - 'value': Module['_BinaryenPushGetValue'](expr) - }; default: throw Error('unexpected id: ' + id); |