From bbad4173768d7836818df697396860bdc14d3827 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 12 Feb 2014 15:09:48 -0800 Subject: optimize reg/mem stuff around setjmp lowering --- lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp') 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 -- cgit v1.2.3-70-g09d2