mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Minor code cleanup /NFC
llvm-svn: 265025
This commit is contained in:
parent
914aeadac2
commit
d1a210f4d0
@ -333,11 +333,13 @@ struct PGOIndirectCallSiteVisitor
|
||||
PGOIndirectCallSiteVisitor() {}
|
||||
|
||||
void visitCallSite(CallSite CS) {
|
||||
Instruction *I = CS.getInstruction();
|
||||
CallInst *CI = dyn_cast<CallInst>(I);
|
||||
if (CS.getCalledFunction() || !CS.getCalledValue() ||
|
||||
(CI && CI->isInlineAsm()))
|
||||
if (CS.getCalledFunction() || !CS.getCalledValue())
|
||||
return;
|
||||
Instruction *I = CS.getInstruction();
|
||||
if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
||||
if (CI->isInlineAsm())
|
||||
return;
|
||||
}
|
||||
IndirectCallInsts.push_back(I);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user