diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:01:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-08 22:01:15 +0000 |
commit | 95f65b6f8455ba89f606dc83a283ad306184c602 (patch) | |
tree | f60733d97f77407ceb66c0bf6904389ba9bb8d48 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | d620de69a164405f11cbfcbc54b54fd0f7f2e341 (diff) | |
download | bcm5719-llvm-95f65b6f8455ba89f606dc83a283ad306184c602.tar.gz bcm5719-llvm-95f65b6f8455ba89f606dc83a283ad306184c602.zip |
s/method/function
llvm-svn: 2177
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 1d6bfb8033f..6a51f978931 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -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(); |