Workaround for a compiler bug (see <rdar://problem/5852746>). Once that bug is

fixed, revert this patch.

llvm-svn: 50782
This commit is contained in:
Bill Wendling 2008-05-06 23:30:02 +00:00
parent 29ce4e5d78
commit d054e15fe3

View File

@ -1413,7 +1413,9 @@ class HandleSDNode : public SDNode {
virtual void ANCHOR(); // Out-of-line virtual method to give class a home.
SDUse Op;
public:
explicit HandleSDNode(SDOperand X)
// FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
// fixed.
explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
Op = X;
InitOperands(&Op, 1);