aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 22:01:15 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 22:01:15 +0000
commit4d669b510c1d609c6b3fe98ac14ae38bd7c011f6 (patch)
treefddc1db11b5b51721a6b86cb6d2facb429703f95 /lib/CodeGen/MachineInstr.cpp
parent35e309ab01a91af7b8c5d4268741222bcffbbb21 (diff)
downloadexternal_llvm-4d669b510c1d609c6b3fe98ac14ae38bd7c011f6.zip
external_llvm-4d669b510c1d609c6b3fe98ac14ae38bd7c011f6.tar.gz
external_llvm-4d669b510c1d609c6b3fe98ac14ae38bd7c011f6.tar.bz2
s/method/function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r--lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 1d6bfb8..6a51f97 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/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();