mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1394,7 +1394,7 @@ static void removeIdenticalCalls(std::vector<DSCallSite> &Calls) {
|
|||||||
// eliminate it.
|
// eliminate it.
|
||||||
if (CS.isIndirectCall() && CS.getCalleeNode()->getNumReferrers() == 1 &&
|
if (CS.isIndirectCall() && CS.getCalleeNode()->getNumReferrers() == 1 &&
|
||||||
CS.getCalleeNode()->isComplete() &&
|
CS.getCalleeNode()->isComplete() &&
|
||||||
CS.getCalleeNode()->getGlobals.empty()) { // No useful info?
|
CS.getCalleeNode()->getGlobals().empty()) { // No useful info?
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
std::cerr << "WARNING: Useless call site found.\n";
|
std::cerr << "WARNING: Useless call site found.\n";
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user