mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-06 01:24:35 +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:
@ -1432,7 +1432,7 @@ void CWriter::printConstantWithCast(Constant* CPV, unsigned Opcode) {
|
|||||||
std::string CWriter::GetValueName(const Value *Operand) {
|
std::string CWriter::GetValueName(const Value *Operand) {
|
||||||
// Mangle globals with the standard mangler interface for LLC compatibility.
|
// Mangle globals with the standard mangler interface for LLC compatibility.
|
||||||
if (const GlobalValue *GV = dyn_cast<GlobalValue>(Operand))
|
if (const GlobalValue *GV = dyn_cast<GlobalValue>(Operand))
|
||||||
return Mang->getValueName(GV);
|
return Mang->getMangledName(GV);
|
||||||
|
|
||||||
std::string Name = Operand->getName();
|
std::string Name = Operand->getName();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user