summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalUnion.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-11-11 17:46:29 +0000
committerAndrew Trick <atrick@apple.com>2010-11-11 17:46:29 +0000
commitf11344d770dd781144d073c0ee2aef792b77ee7a (patch)
tree1556d12ab3434bddfa08f66bf3c94efd20ed4387 /llvm/lib/CodeGen/LiveIntervalUnion.h
parent109dfe55d0cc73aedb01d0d95c5885e7319a8f40 (diff)
downloadbcm5719-llvm-f11344d770dd781144d073c0ee2aef792b77ee7a.tar.gz
bcm5719-llvm-f11344d770dd781144d073c0ee2aef792b77ee7a.zip
Check TRI->getReservedRegs because other allocators do it. Even though
it makes no sense for allocation_order iterators to visit reserved regs. The inline spiller depends on AliasAnalysis. Manage the Query state to avoid uninitialized or stale results. llvm-svn: 118800
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.h')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalUnion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.h b/llvm/lib/CodeGen/LiveIntervalUnion.h
index b6eaa71cfaa..38f6ac3abdc 100644
--- a/llvm/lib/CodeGen/LiveIntervalUnion.h
+++ b/llvm/lib/CodeGen/LiveIntervalUnion.h
@@ -267,6 +267,9 @@ public:
}
private:
+ Query(const Query&); // DO NOT IMPLEMENT
+ void operator=(const Query&); // DO NOT IMPLEMENT
+
// Private interface for queries
void findIntersection(InterferenceResult &ir) const;
};
OpenPOWER on IntegriCloud