aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/InstrSelection/InstrSelection.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
commit2ee82e05e3e41fa23951d3503db5483a36dc3ae3 (patch)
tree392b6989abbe2842df212bd2d71919013e370d6d /lib/CodeGen/InstrSelection/InstrSelection.cpp
parentd55e98673a376918c3d109b1c1b8cb004fdeba08 (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/InstrSelection/InstrSelection.cpp')
-rw-r--r--lib/CodeGen/InstrSelection/InstrSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp
index 0c30b3d17d..5e0fb8ec72 100644
--- a/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp
@@ -182,7 +182,7 @@ InstructionSelection::InsertCodeForPhis(Function &F)
MachineFunction &MF = MachineFunction::get(&F);
for (MachineFunction::iterator BB = MF.begin(); BB != MF.end(); ++BB) {
for (BasicBlock::iterator IIt = BB->getBasicBlock()->begin();
- PHINode *PN = dyn_cast<PHINode>(&*IIt); ++IIt) {
+ PHINode *PN = dyn_cast<PHINode>(IIt); ++IIt) {
// FIXME: This is probably wrong...
Value *PhiCpRes = new PHINode(PN->getType(), "PhiCp:");