mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[DomTree] Remove dead code.[NFC]
This commit is contained in:
parent
55ce23f890
commit
98ef7ef22b
@ -92,13 +92,9 @@ struct SemiNCAInfo {
|
||||
|
||||
BatchUpdateInfo *BatchUpdates;
|
||||
using BatchUpdatePtr = BatchUpdateInfo *;
|
||||
std::unique_ptr<GraphDiffT> EmptyGD;
|
||||
|
||||
// If BUI is a nullptr, then there's no batch update in progress.
|
||||
SemiNCAInfo(BatchUpdatePtr BUI) : BatchUpdates(BUI) {
|
||||
if (!BatchUpdates)
|
||||
EmptyGD = std::make_unique<GraphDiffT>();
|
||||
}
|
||||
SemiNCAInfo(BatchUpdatePtr BUI) : BatchUpdates(BUI) {}
|
||||
|
||||
void clear() {
|
||||
NumToNode = {nullptr}; // Restore to initial state with a dummy start node.
|
||||
|
Loading…
Reference in New Issue
Block a user