mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Use __attribute__((noinline)) only if compiled by gcc.
llvm-svn: 29161
This commit is contained in:
parent
22ef77c90c
commit
1910357655
@ -3349,7 +3349,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
|
||||
}
|
||||
CallerCode += ");";
|
||||
CalleeCode += ") ";
|
||||
#ifndef _MSC_VER
|
||||
#ifdef __GNUC__
|
||||
// Prevent emission routines from being inlined to reduce selection
|
||||
// routines stack frame sizes.
|
||||
CalleeCode += "__attribute__((noinline)) ";
|
||||
|
Loading…
Reference in New Issue
Block a user