aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-10 15:02:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-10 15:02:11 -0700
commit7c39b40357a764fcf0a52d0c647d28c10af4d59f (patch)
tree159febcc4ccccdaa7ae0410c35e092c1e385e592 /src/modules.js
parentf8066edde43495c5ca6b869ff37f99a8290f30b5 (diff)
larger pgo test, with asm measurements
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js
index e78b294f..65b8d437 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -315,7 +315,7 @@ var Functions = {
}
if (ASM_JS) {
var curr = table[i];
- if (curr && !Functions.implementedFunctions[curr]) {
+ if (curr && curr != '0' && !Functions.implementedFunctions[curr]) {
// This is a library function, we can't just put it in the function table, need a wrapper
if (!wrapped[curr]) {
var args = '', arg_coercions = '', call = curr + '(', retPre = '', retPost = '';