diff options
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r-- | src/js/binaryen.js-post.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index b11d2769b..8f49b105c 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -1872,6 +1872,12 @@ function wrapModule(module, self) { }, }; + self['anyref'] = { + 'pop': function() { + return Module['_BinaryenPop'](module, Module['anyref']); + } + }; + self['exnref'] = { 'pop': function() { return Module['_BinaryenPop'](module, Module['exnref']); |