summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-04-06 20:07:21 +0000
committerBill Wendling <isanbard@gmail.com>2010-04-06 20:07:21 +0000
commitaa59c88a6e963cf0f71511ae81784da2873dbc78 (patch)
treeec4c3d1b523243b75e1bd073d259111fab3aa164 /include/llvm/CodeGen/SelectionDAGNodes.h
parent8ba1c6ab8749d03692207ab1fa32993c1fc5c7bf (diff)
downloadllvm-aa59c88a6e963cf0f71511ae81784da2873dbc78.tar.gz
llvm-aa59c88a6e963cf0f71511ae81784da2873dbc78.tar.bz2
llvm-aa59c88a6e963cf0f71511ae81784da2873dbc78.tar.xz
Make this hack more specific to the Apple gcc 4.2 non-LLVM compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 782d354bdf..91c49fab43 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1564,7 +1564,7 @@ class HandleSDNode : public SDNode {
public:
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
// fixed.
-#ifdef __GNUC__
+#if __GNUC__==4 && __GNUC_MINOR__==2 && defined(__APPLE__) && !defined(__llvm__)
explicit __attribute__((__noinline__)) HandleSDNode(SDValue X)
#else
explicit HandleSDNode(SDValue X)