From: Chris Lattner Date: Thu, 3 Aug 2006 00:26:13 +0000 (+0000) Subject: Really add support for compilers without noinline X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=32501a0e33d6bebd821d2118502df255cf12cf70;p=oota-llvm.git Really add support for compilers without noinline git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29491 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index e0bc583cc62..2bd0e08a408 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -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"