From ef02b815cb37017d8dbac2f18c75bff0aa317163 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50782 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index a02f7b96f0d..0320f7f7be0 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/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);