[llvm-commits] [llvm] r50789 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Bill Wendling
isanbard at gmail.com
Tue May 6 17:00:34 PDT 2008
Author: void
Date: Tue May 6 19:00:34 2008
New Revision: 50789
URL: http://llvm.org/viewvc/llvm-project?rev=50789&view=rev
Log:
Make the use of the "noinline" attribute conditional on using GCC.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=50789&r1=50788&r2=50789&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Tue May 6 19:00:34 2008
@@ -1415,7 +1415,11 @@
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);
More information about the llvm-commits
mailing list