mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
IR: Make MDString::getName() private
Hide the fact that `MDString`'s string is stored in `Value::Name` -- that's going to change soon. Update the only in-tree client that was using it instead of `Value::getString()`. Part of PR21532. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221951 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1159,7 +1159,7 @@ private:
|
||||
return false;
|
||||
|
||||
for (auto H : HintTypes)
|
||||
if (Name->getName().endswith(H.Name))
|
||||
if (Name->getString().endswith(H.Name))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user