mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-20 23:30:54 +00:00
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:
parent
29ce4e5d78
commit
d054e15fe3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user