mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
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
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user