From 6379c96c07b76027a29891ec2c78c3ed1b68c7d5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 3 Aug 2006 00:26:13 +0000 Subject: [PATCH] Really add support for compilers without noinline llvm-svn: 29491 --- llvm/utils/TableGen/DAGISelEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp index e0bc583cc620..2bd0e08a4089 100644 --- a/llvm/utils/TableGen/DAGISelEmitter.cpp +++ b/llvm/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" -- GitLab