mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Move SILGlobalVariable::dump out of line.
...so that it doesn't get emitted into every TU that imports the header.
This commit is contained in:
@@ -2126,6 +2126,9 @@ void SILGlobalVariable::print(llvm::raw_ostream &OS, bool Verbose) const {
|
||||
void SILGlobalVariable::dump(bool Verbose) const {
|
||||
print(llvm::errs(), Verbose);
|
||||
}
|
||||
void SILGlobalVariable::dump() const {
|
||||
dump(false);
|
||||
}
|
||||
|
||||
void SILGlobalVariable::printName(raw_ostream &OS) const {
|
||||
OS << "@" << Name;
|
||||
|
||||
Reference in New Issue
Block a user