mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Make the use of the "noinline" attribute conditional on using GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1415,7 +1415,11 @@ class HandleSDNode : public SDNode {
|
|||||||
public:
|
public:
|
||||||
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
|
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
|
||||||
// fixed.
|
// fixed.
|
||||||
|
#ifdef __GNUC__
|
||||||
explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
|
explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
|
||||||
|
#else
|
||||||
|
explicit HandleSDNode(SDOperand X)
|
||||||
|
#endif
|
||||||
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
|
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
|
||||||
Op = X;
|
Op = X;
|
||||||
InitOperands(&Op, 1);
|
InitOperands(&Op, 1);
|
||||||
|
Reference in New Issue
Block a user