mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Hook into PassManager's analysis verification.
By overriding Pass::verifyAnalysis(), the pass contents will be verified by the pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -284,7 +284,7 @@ void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) {
|
||||
Ensembles[i]->invalidate(MBB);
|
||||
}
|
||||
|
||||
void MachineTraceMetrics::verify() const {
|
||||
void MachineTraceMetrics::verifyAnalysis() const {
|
||||
#ifndef NDEBUG
|
||||
assert(BlockInfo.size() == MF->getNumBlockIDs() && "Outdated BlockInfo size");
|
||||
for (unsigned i = 0; i != TS_NumStrategies; ++i)
|
||||
|
Reference in New Issue
Block a user