diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-05-06 23:30:02 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-05-06 23:30:02 +0000 |
commit | ef02b815cb37017d8dbac2f18c75bff0aa317163 (patch) | |
tree | 4feec5d5e8ca5f75e83a2fdd3799eed40175d766 | |
parent | bec41b8db3f2697898875fcabe43a09f2ff0c48d (diff) | |
download | external_llvm-ef02b815cb37017d8dbac2f18c75bff0aa317163.zip external_llvm-ef02b815cb37017d8dbac2f18c75bff0aa317163.tar.gz external_llvm-ef02b815cb37017d8dbac2f18c75bff0aa317163.tar.bz2 |
Workaround for a compiler bug (see <rdar://problem/5852746>). 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
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index a02f7b9..0320f7f 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 <rdar://problem/5852746> is + // fixed. + explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X) : SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) { Op = X; InitOperands(&Op, 1); |