commit | 9b625030c8427a3bc56f5993c0b5b214c393042f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon May 06 16:15:30 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon May 06 16:15:30 2002 +0000 |
tree | 40bf688c425d93346f3f3a1119f4a9049682724e | |
parent | d44023ecb7a699e52f119bec0eb86830989ff35a [diff] [blame] |
Replace all usages of Type::isPointerType with isa<PointerType> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2486 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 2d28db1..9b98d94 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp
@@ -345,7 +345,7 @@ 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;