mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 14:12:11 +00:00
[AsmWriter] Remove redundant cast<>s. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54f9742d29
commit
9cccec8198
@ -3003,7 +3003,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
}
|
||||
|
||||
Operand = CI->getCalledValue();
|
||||
FunctionType *FTy = cast<FunctionType>(CI->getFunctionType());
|
||||
FunctionType *FTy = CI->getFunctionType();
|
||||
Type *RetTy = FTy->getReturnType();
|
||||
const AttributeSet &PAL = CI->getAttributes();
|
||||
|
||||
@ -3040,7 +3040,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
||||
|
||||
} else if (const InvokeInst *II = dyn_cast<InvokeInst>(&I)) {
|
||||
Operand = II->getCalledValue();
|
||||
FunctionType *FTy = cast<FunctionType>(II->getFunctionType());
|
||||
FunctionType *FTy = II->getFunctionType();
|
||||
Type *RetTy = FTy->getReturnType();
|
||||
const AttributeSet &PAL = II->getAttributes();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user