diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:36:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:36:11 +0000 |
commit | 2ee82e05e3e41fa23951d3503db5483a36dc3ae3 (patch) | |
tree | 392b6989abbe2842df212bd2d71919013e370d6d /lib/CodeGen/MachineFunction.cpp | |
parent | d55e98673a376918c3d109b1c1b8cb004fdeba08 (diff) |
Remove unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 7ee2dcf457..57b34fae1f 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -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(); |