diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 14:19:54 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 14:19:54 -0700 |
commit | 6159c4f1565a180999563dc70092f2db2e0b6562 (patch) | |
tree | b66b66840eea7bd96213cdcd088c8dad644094b0 | |
parent | 5090adfc7b5fd5fc249377d9b55677b4144d7126 (diff) |
add exception debug warning on resume 0
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index b62bbe6c..c720e566 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1170,7 +1170,7 @@ function JSify(data, functionsOnly, givenFunctions) { if (item.ident == 0) { // No exception to resume, so we can just bail. // This is related to issue #917 and http://llvm.org/PR15518 - return ';'; + return (EXCEPTION_DEBUG ? 'Module.print("no exception to resume")' : '') + ';'; } // If there is no current exception, set this one as it (during a resume, the current exception can be wiped out) var ptr = makeStructuralAccess(item.ident, 0); |