summaryrefslogtreecommitdiff
path: root/src/js/post.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-31 17:31:20 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-31 17:31:20 -0700
commitdb878524df6a123e7e96d4c153f2b7f125741422 (patch)
tree653eb5749560c62820ec028069961b982474980a /src/js/post.js
parent3e618d9570b278ca9e94663240cf33d4f3cb22a9 (diff)
downloadbinaryen-db878524df6a123e7e96d4c153f2b7f125741422.tar.gz
binaryen-db878524df6a123e7e96d4c153f2b7f125741422.tar.bz2
binaryen-db878524df6a123e7e96d4c153f2b7f125741422.zip
polyfill fixes: more memory by default, and a type correction
Diffstat (limited to 'src/js/post.js')
-rw-r--r--src/js/post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/post.js b/src/js/post.js
index 78fad1fc8..fe9e1b516 100644
--- a/src/js/post.js
+++ b/src/js/post.js
@@ -22,7 +22,7 @@
wasmJS._free(temp);
// Generate memory XXX TODO get the right size
- var theBuffer = Module['buffer'] = new ArrayBuffer(16*1024*1024);
+ var theBuffer = Module['buffer'] = new ArrayBuffer(64*1024*1024);
// Information for the instance of the module.
var info = wasmJS['info'] = {