1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make the use of the "noinline" attribute conditional on using GCC.

llvm-svn: 50789
This commit is contained in:
Bill Wendling 2008-05-07 00:00:34 +00:00
parent 3743bcf042
commit a7619e13ed

View File

@ -1415,7 +1415,11 @@ class HandleSDNode : public SDNode {
public:
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
// fixed.
#ifdef __GNUC__
explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
#else
explicit HandleSDNode(SDOperand X)
#endif
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
Op = X;
InitOperands(&Op, 1);