Really add support for compilers without noinline

llvm-svn: 29491
This commit is contained in:
Chris Lattner 2006-08-03 00:26:13 +00:00
parent 524c1a21f2
commit 6379c96c07
1 changed files with 2 additions and 0 deletions

View 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"