mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
DeadCodeElimination: fix debug logging of to-instruction when adding a reverse dependency
This commit is contained in:
@@ -347,7 +347,7 @@ void DCE::markLive() {
|
||||
// Records a reverse dependency if needed. See DCE::ReverseDependencies.
|
||||
void DCE::addReverseDependency(SILValue from, SILInstruction *to) {
|
||||
LLVM_DEBUG(llvm::dbgs() << "Adding reverse dependency from " << from << " to "
|
||||
<< to);
|
||||
<< *to);
|
||||
ReverseDependencies[from].insert(to);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user