summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-06 23:30:02 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-06 23:30:02 +0000
commitd054e15fe36975addc2dce8684035fa39275ccf0 (patch)
tree09389294c5b83c55120ce8c23237d8f9ee2eac3c
parent29ce4e5d78f781298dc4e6617fdbdd797362aef5 (diff)
downloadbcm5719-llvm-d054e15fe36975addc2dce8684035fa39275ccf0.tar.gz
bcm5719-llvm-d054e15fe36975addc2dce8684035fa39275ccf0.zip
Workaround for a compiler bug (see <rdar://problem/5852746>). Once that bug is
fixed, revert this patch. llvm-svn: 50782
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index a02f7b96f0d..0320f7f7be0 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 <rdar://problem/5852746> is
+ // fixed.
+ explicit __attribute__((__noinline__)) HandleSDNode(SDOperand X)
: SDNode(ISD::HANDLENODE, getSDVTList(MVT::Other)) {
Op = X;
InitOperands(&Op, 1);
OpenPOWER on IntegriCloud