summaryrefslogtreecommitdiff
path: root/src/js/binaryen.js-post.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r--src/js/binaryen.js-post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js
index f8a0b8590..057252f78 100644
--- a/src/js/binaryen.js-post.js
+++ b/src/js/binaryen.js-post.js
@@ -3032,7 +3032,7 @@ Module['setOneCallerInlineMaxSize'] = function(size) {
// Gets the value which allow inline functions that are not "lightweight".
Module['getAllowHeavyweight'] = function() {
- return Module['_BinaryenGetAllowHeavyweight']();
+ return Boolean(Module['_BinaryenGetAllowHeavyweight']());
};
// Sets the value which allow inline functions that are not "lightweight".