mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Remove Value::{isName, getNameRef}.
Also, change MDString to use a StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,7 @@ void ValueSymbolTable::reinsertValue(Value* V) {
|
||||
}
|
||||
|
||||
// Otherwise, there is a naming conflict. Rename this value.
|
||||
SmallString<128> UniqueName(V->getNameStart(), V->getNameEnd());
|
||||
SmallString<128> UniqueName(V->getName().begin(), V->getName().end());
|
||||
|
||||
// The name is too already used, just free it so we can allocate a new name.
|
||||
V->Name->Destroy();
|
||||
|
||||
Reference in New Issue
Block a user