mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
s/method/function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -167,7 +167,7 @@ std::ostream &operator<<(std::ostream &os, const MachineOperand &mop)
|
||||
case MachineOperand::MO_PCRelativeDisp:
|
||||
{
|
||||
const Value* opVal = mop.getVRegValue();
|
||||
bool isLabel = isa<Method>(opVal) || isa<BasicBlock>(opVal);
|
||||
bool isLabel = isa<Function>(opVal) || isa<BasicBlock>(opVal);
|
||||
os << "%disp(" << (isLabel? "label " : "addr-of-val ");
|
||||
if (opVal->hasName())
|
||||
os << opVal->getName();
|
||||
|
||||
Reference in New Issue
Block a user