Really add support for compilers without noinline
llvm-svn: 29491
This commit is contained in:
parent
524c1a21f2
commit
6379c96c07
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue