aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-10 15:13:47 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-10 15:13:47 -0700
commit537bea501ce10baddeaf1410bc36b37e6812f064 (patch)
tree9d3805dbc01152d4e53170f68f1a804e063814e5 /src
parent4ca9427e30dbd00b3ee80e6ae4a5b4b65f9e8ddb (diff)
comment on not inlining for setjmp
Diffstat (limited to 'src')
-rw-r--r--src/library.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index a24ce3ca..d26539f6 100644
--- a/src/library.js
+++ b/src/library.js
@@ -6354,7 +6354,8 @@ LibraryManager.library = {
// Note that we need to emulate functions that use setjmp, and also to create
// a new label we can return to. Emulation make such functions slower, this
// can be alleviated by making a new function containing just the setjmp
- // related functionality so the slowdown is more limited.
+ // related functionality so the slowdown is more limited - you may need
+ // to prevent inlining to keep this isolated, try __attribute__((noinline))
// ==========================================================================
saveSetjmp__asm: true,