From 3a8b3bb1e8f8601e8a5598a652fad6d8d510fb30 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Tue, 14 Jun 2022 11:27:30 +0100 Subject: rename CallSite to CallBase --- lib/Core/StatsTracker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Core/StatsTracker.cpp') diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 11199db1..539b913c 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -786,14 +786,14 @@ void StatsTracker::computeReachableUncovered() { it != ie; ++it) { Instruction *inst = &*it; if (isa(inst) || isa(inst)) { - const CallBase &cs = cast(*inst); - if (isa(cs.getCalledOperand())) { + const CallBase &cb = cast(*inst); + if (isa(cb.getCalledOperand())) { // We can never call through here so assume no targets // (which should be correct anyhow). callTargets.insert(std::make_pair(inst, std::vector())); } else if (Function *target = getDirectCallTarget( - cs, /*moduleIsFullyLinked=*/true)) { + cb, /*moduleIsFullyLinked=*/true)) { callTargets[inst].push_back(target); } else { callTargets[inst] = -- cgit 1.4.1