aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/PNaClABISimplify.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-12 15:09:48 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-12 15:09:48 -0800
commitbbad4173768d7836818df697396860bdc14d3827 (patch)
tree650b683668822c528921662cf3184c0291fec486 /lib/Transforms/NaCl/PNaClABISimplify.cpp
parent04db312c9612033c07ed11e081645686b09dd76a (diff)
optimize reg/mem stuff around setjmp lowering
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index f563bc0d6a..5689556f21 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -49,9 +49,7 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) {
PM.add(createCFGSimplificationPass());
}
- PM.add(createDemoteRegisterToMemoryPass()); // XXX EMSCRIPTEN we just need this for functions with setjmp in them...
PM.add(createLowerEmSetjmpPass()); // XXX EMSCRIPTEN
- PM.add(createPromoteMemoryToRegisterPass()); // XXX EMSCRIPTEN we just need this for functions with setjmp in them...
#if 0 // EMSCRIPTEN: we allow arbitrary symbols to be preserved
// Internalize all symbols in the module except _start, which is the only