We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6fcb830 + 2068887 commit 879c0c6Copy full SHA for 879c0c6
lib/SILOptimizer/IPO/GlobalPropertyOpt.cpp
@@ -73,7 +73,7 @@ class GlobalPropertyOpt {
73
if (!entry.Value)
74
return os << "unknown-address\n";
75
if (auto *Inst = dyn_cast<SILInstruction>(entry.Value))
76
- os << Inst->getFunction()->getName() << ": " << entry.Value;
+ return os << Inst->getFunction()->getName() << ": " << entry.Value;
77
if (auto *Arg = dyn_cast<SILArgument>(entry.Value))
78
return os << Arg->getFunction()->getName() << ": " << entry.Value;
79
return os << entry.Value;
0 commit comments