diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-27 16:58:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-27 16:58:47 -0800 |
commit | d633d6226fafbc3f8491a36a6b90a3ef0b229d7e (patch) | |
tree | 8e02fbee1f58299388a31658ddacb79d0a9ccfe8 /lib/Transforms/NaCl/PNaClABISimplify.cpp | |
parent | f2d68ac5c26a6f6cd97c28c8f9b2a24ea94f44c2 (diff) |
coordinate exception handling with setjmp - if exception handling code generate a pre|postinvoke, use those for setjmp as well
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
-rw-r--r-- | lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp index 6a0aeae700..5689556f21 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -49,7 +49,7 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { PM.add(createCFGSimplificationPass()); } - PM.add(createLowerEmSetjmpPass()); // XXX EMSCRIPTEN . Note, only if no exceptions + PM.add(createLowerEmSetjmpPass()); // XXX EMSCRIPTEN #if 0 // EMSCRIPTEN: we allow arbitrary symbols to be preserved // Internalize all symbols in the module except _start, which is the only |