Really add support for compilers without noinline
authorChris Lattner <sabre@nondot.org>
Thu, 3 Aug 2006 00:26:13 +0000 (00:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Aug 2006 00:26:13 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29491 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index e0bc583cc62039c940170a6951539c37975652c1..2bd0e08a40893d1b4871d8008fe82388d183ae5b 100644 (file)
@@ -3679,6 +3679,8 @@ void DAGISelEmitter::run(std::ostream &OS) {
   OS << "#if defined(__GNUC__) && \\\n";
   OS << "    ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)))\n";
   OS << "#define NOINLINE __attribute__((noinline))\n";
+  OS << "#else\n\n";
+  OS << "#define NOINLINE\n\n";
   OS << "#endif\n\n";
 
   OS << "// Instance var to keep track of multiply used nodes that have \n"