summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-06 16:15:30 +0000
committerChris Lattner <sabre@nondot.org>2002-05-06 16:15:30 +0000
commit181cc32365ad2bba3a83905ff2c3fabb416d2438 (patch)
tree76f5de6e4556294e07cb115ebe1f035fb3bac9f7 /llvm/lib/Bytecode/Reader/InstructionReader.cpp
parent398a86f14e7535eb9e12bc2caba8d91c04d74a75 (diff)
downloadbcm5719-llvm-181cc32365ad2bba3a83905ff2c3fabb416d2438.tar.gz
bcm5719-llvm-181cc32365ad2bba3a83905ff2c3fabb416d2438.zip
Replace all usages of Type::isPointerType with isa<PointerType>
llvm-svn: 2486
Diffstat (limited to 'llvm/lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/InstructionReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp
index 2d28db1b4c0..9b98d945305 100644
--- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp
+++ b/llvm/lib/Bytecode/Reader/InstructionReader.cpp
@@ -345,7 +345,7 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf,
case Instruction::Free:
V = getValue(Raw.Ty, Raw.Arg1);
- if (!V->getType()->isPointerType()) return failure(true);
+ if (!isa<PointerType>(V->getType())) return failure(true);
Res = new FreeInst(V);
return false;
OpenPOWER on IntegriCloud