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:
Jordan Rose
2017-07-14 16:40:18 -07:00
parent ea5b362f9a
commit e7ec1dbea3
2 changed files with 7 additions and 1 deletions

View File

@@ -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;