mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Use StringRef instead of std::string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11966d7c98
commit
a305ffb65b
@ -90,7 +90,7 @@ static BasicBlock *FoldBlockIntoPredecessor(BasicBlock *BB, LoopInfo* LI,
|
||||
// Move all definitions in the successor to the predecessor...
|
||||
OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
|
||||
|
||||
std::string OldName = BB->getName();
|
||||
StringRef OldName = BB->getName();
|
||||
|
||||
// Erase basic block from the function...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user