Skip to content

Commit 09511a7

Browse files
committed
[AddressLowering] NFC: Marked dump const.
1 parent 60bad0c commit 09511a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/SILOptimizer/Mandatory/AddressLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,12 @@ void ValueStorageMap::ValueStoragePair::dump() const {
451451
llvm::dbgs() << "UNKNOWN!\n";
452452
storage.dump();
453453
}
454-
void ValueStorageMap::dumpProjections(SILValue value) {
454+
void ValueStorageMap::dumpProjections(SILValue value) const {
455455
for (auto *pair : getProjections(value)) {
456456
pair->dump();
457457
}
458458
}
459-
void ValueStorageMap::dump() {
459+
void ValueStorageMap::dump() const {
460460
llvm::dbgs() << "ValueStorageMap:\n";
461461
for (unsigned ordinal : indices(valueVector)) {
462462
auto &valStoragePair = valueVector[ordinal];

lib/SILOptimizer/Mandatory/AddressLowering.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ class ValueStorageMap {
396396
bool isComposingUseProjection(Operand *oper) const;
397397

398398
#ifndef NDEBUG
399-
void dumpProjections(SILValue value);
400-
void dump();
399+
void dumpProjections(SILValue value) const;
400+
void dump() const;
401401
#endif
402402
};
403403

0 commit comments

Comments
 (0)