mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Remove unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -247,7 +247,7 @@ ComputeMaxOptionalArgsSize(const TargetMachine& target, const Function *F,
|
||||
|
||||
for (Function::const_iterator BB = F->begin(), BBE = F->end(); BB !=BBE; ++BB)
|
||||
for (BasicBlock::const_iterator I = BB->begin(), E = BB->end(); I != E; ++I)
|
||||
if (const CallInst *callInst = dyn_cast<CallInst>(&*I))
|
||||
if (const CallInst *callInst = dyn_cast<CallInst>(I))
|
||||
{
|
||||
unsigned numOperands = callInst->getNumOperands() - 1;
|
||||
int numExtra = (int)numOperands-frameInfo.getNumFixedOutgoingArgs();
|
||||
|
Reference in New Issue
Block a user