aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/PNaClABISimplify.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-27 16:58:33 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-27 16:58:47 -0800
commitd633d6226fafbc3f8491a36a6b90a3ef0b229d7e (patch)
tree8e02fbee1f58299388a31658ddacb79d0a9ccfe8 /lib/Transforms/NaCl/PNaClABISimplify.cpp
parentf2d68ac5c26a6f6cd97c28c8f9b2a24ea94f44c2 (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.cpp2
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