[llvm-commits] CVS: llvm/lib/CodeGen/MachineFunction.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 23 11:37:06 PDT 2003
Changes in directory llvm/lib/CodeGen:
MachineFunction.cpp updated: 1.38 -> 1.39
---
Log message:
Remove unneccesary &*
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.38 llvm/lib/CodeGen/MachineFunction.cpp:1.39
--- llvm/lib/CodeGen/MachineFunction.cpp:1.38 Thu Jan 16 12:35:56 2003
+++ llvm/lib/CodeGen/MachineFunction.cpp Wed Apr 23 11:36:09 2003
@@ -247,7 +247,7 @@
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();
More information about the llvm-commits
mailing list