Unbreak the CBE output
authorChris Lattner <sabre@nondot.org>
Thu, 31 Jul 2003 17:47:24 +0000 (17:47 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 Jul 2003 17:47:24 +0000 (17:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7453 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp

index ad242c77c46eaa1bc2934dd175406f8c86aef4c4..404e6f6f55b793305f22c8997bf36793161ebfe6 100644 (file)
@@ -570,9 +570,7 @@ void CWriter::printModule(Module *M) {
   // get declaration for alloca
   Out << "/* Provide Declarations */\n";
   Out << "#include <stdarg.h>\n";
-#ifdef HAVE_JUMP
   Out << "#include <setjmp.h>\n";
-#endif
   generateCompilerSpecificCode(Out);
   
   // Provide a definition for `bool' if not compiling with a C++ compiler.
index ad242c77c46eaa1bc2934dd175406f8c86aef4c4..404e6f6f55b793305f22c8997bf36793161ebfe6 100644 (file)
@@ -570,9 +570,7 @@ void CWriter::printModule(Module *M) {
   // get declaration for alloca
   Out << "/* Provide Declarations */\n";
   Out << "#include <stdarg.h>\n";
-#ifdef HAVE_JUMP
   Out << "#include <setjmp.h>\n";
-#endif
   generateCompilerSpecificCode(Out);
   
   // Provide a definition for `bool' if not compiling with a C++ compiler.