mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
rename getValueName -> getMangledName
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b5851462d0
commit
c2c89fba60
@ -1432,7 +1432,7 @@ void CWriter::printConstantWithCast(Constant* CPV, unsigned Opcode) {
|
||||
std::string CWriter::GetValueName(const Value *Operand) {
|
||||
// Mangle globals with the standard mangler interface for LLC compatibility.
|
||||
if (const GlobalValue *GV = dyn_cast<GlobalValue>(Operand))
|
||||
return Mang->getValueName(GV);
|
||||
return Mang->getMangledName(GV);
|
||||
|
||||
std::string Name = Operand->getName();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user