From 9b625030c8427a3bc56f5993c0b5b214c393042f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 6 May 2002 16:15:30 +0000 Subject: Replace all usages of Type::isPointerType with isa git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2486 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bytecode/Reader/InstructionReader.cpp') diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 2d28db1b4c..9b98d94530 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/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(V->getType())) return failure(true); Res = new FreeInst(V); return false; -- cgit v1.2.3