diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-02-12 19:36:23 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-02-12 19:36:23 -0800 |
commit | 96c8d27ce66e07dac8ce9835d2ff00a7d7e8b9ee (patch) | |
tree | 67302d1eec660748dc26c7250e7d485435a12e00 /src/preamble.js | |
parent | bace573eb4e44e43227d4134e34158969d914efa (diff) |
fix for compiling with spidermonkey
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index fa64d916..c2941902 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -231,7 +231,7 @@ function __initializeRuntime__() { Module['_malloc'] = _malloc = __Znwj = __Znaj = __Znam = __Znwm = Module['_malloc'] ? Module['_malloc'] : Runtime.staticAlloc; Module['_calloc'] = _calloc = Module['_calloc'] ? Module['_calloc'] : function(n, s) { var ret = _malloc(n*s); - Runtime.memset(ret, 0, n*s); + _memset(ret, 0, n*s); return ret; }; Module['_free'] = _free = __ZdlPv = __ZdaPv = Module['_free'] ? Module['_free'] : function() { }; |