git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273523
91177308-0d34-0410-b5e6-
96231b3b80d8
assert(BDV && base);
assert(!isKnownBaseResult(BDV) && "why did it get added?");
- StringRef FromStr = cache.count(BDV) ? cache[BDV]->getName() : "none";
DEBUG(dbgs() << "Updating base value cache"
- << " for: " << BDV->getName() << " from: " << FromStr
+ << " for: " << BDV->getName() << " from: "
+ << (cache.count(BDV) ? cache[BDV]->getName().str() : "none")
<< " to: " << base->getName() << "\n");
if (cache.count(BDV)) {