diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/binaryen.js-post.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index da121e23a..86b063c0e 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -38,7 +38,7 @@ function initializeConstants() { ['anyref', 'Anyref'], ['eqref', 'Eqref'], ['i31ref', 'I31ref'], - ['dataref', 'Dataref'], + ['structref', 'Structref'], ['stringref', 'Stringref'], ['stringview_wtf8', 'StringviewWTF8'], ['stringview_wtf16', 'StringviewWTF16'], @@ -2302,9 +2302,9 @@ function wrapModule(module, self = {}) { } }; - self['dataref'] = { + self['structref'] = { 'pop'() { - return Module['_BinaryenPop'](module, Module['dataref']); + return Module['_BinaryenPop'](module, Module['structref']); } }; |