aboutsummaryrefslogtreecommitdiff
path: root/src/modules.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-11 09:46:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-11 09:46:33 -0700
commit0ad87244178badf26cd5c8e0ed88116e87026472 (patch)
treedb19d53d4548391d316fec33954ed7d5d3cfb68b /src/modules.js
parenta1eb425371aa310e074b06d80d56adf71d6f5383 (diff)
parent886e3158cf5d95a2c2721e5eb9a1c3ac4461f805 (diff)
Merge branch 'incoming'
Diffstat (limited to 'src/modules.js')
-rw-r--r--src/modules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js
index e4093078..b13ab3c5 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -341,6 +341,7 @@ var Functions = {
call += (j > 1 ? ',' : '') + asmCoercion('a' + j, t[j] != 'i' ? 'float' : 'i32');
}
call += ')';
+ if (curr == '_setjmp') printErr('WARNING: setjmp used via a function pointer. If this is for libc setjmp (not something of your own with the same name), it will break things');
tables.pre += 'function ' + curr + '__wrapper(' + args + ') { ' + arg_coercions + ' ; ' + retPre + call + retPost + ' }\n';
wrapped[curr] = 1;
}