From d054e15fe36975addc2dce8684035fa39275ccf0 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 6 May 2008 23:30:02 +0000 Subject: [PATCH] Workaround for a compiler bug (see ). Once that bug is fixed, revert this patch. llvm-svn: 50782 --- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index a02f7b96f0d5..0320f7f7be0a 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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 is + // fixed. + explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X) : SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) { Op = X; InitOperands(&Op, 1);