diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
commit | 889f620841146d6f9f935f2271e80a7dddc15e25 (patch) | |
tree | eb3b923511a1c4be6f4936462a30321f6984c395 /llvm/lib/Transforms/IPO/InlineSimple.cpp | |
parent | 6ee2cf5d89f1695e229926ecee821e1a22759617 (diff) | |
download | bcm5719-llvm-889f620841146d6f9f935f2271e80a7dddc15e25.tar.gz bcm5719-llvm-889f620841146d6f9f935f2271e80a7dddc15e25.zip |
Remove unnecesary &*'s
llvm-svn: 5872
Diffstat (limited to 'llvm/lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/InlineSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp index afa4890f035..a2dbf2ef4cf 100644 --- a/llvm/lib/Transforms/IPO/InlineSimple.cpp +++ b/llvm/lib/Transforms/IPO/InlineSimple.cpp @@ -169,7 +169,7 @@ static inline bool ShouldInlineFunction(const CallInst *CI, const Function *F) { static inline bool DoFunctionInlining(BasicBlock *BB) { for (BasicBlock::iterator I = BB->begin(); I != BB->end(); ++I) { - if (CallInst *CI = dyn_cast<CallInst>(&*I)) { + if (CallInst *CI = dyn_cast<CallInst>(I)) { // Check to see if we should inline this function Function *F = CI->getCalledFunction(); if (F && ShouldInlineFunction(CI, F)) { |