summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/PreSelection.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-21 17:22:23 +0000
committerChris Lattner <sabre@nondot.org>2003-10-21 17:22:23 +0000
commit73d9355feabf9b44991e238629e2ca2c202b8281 (patch)
tree77f29669c38af6b68d4cde9b5c2b61a774bb3485 /llvm/lib/Target/Sparc/PreSelection.cpp
parenta62228d01a9cf1346445a2cf2bef19f1b3a9cd62 (diff)
downloadbcm5719-llvm-73d9355feabf9b44991e238629e2ca2c202b8281.tar.gz
bcm5719-llvm-73d9355feabf9b44991e238629e2ca2c202b8281.zip
Hrm, unbreak stuph :(
llvm-svn: 9334
Diffstat (limited to 'llvm/lib/Target/Sparc/PreSelection.cpp')
-rw-r--r--llvm/lib/Target/Sparc/PreSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/PreSelection.cpp b/llvm/lib/Target/Sparc/PreSelection.cpp
index d4f4398b4a3..044caa7d317 100644
--- a/llvm/lib/Target/Sparc/PreSelection.cpp
+++ b/llvm/lib/Target/Sparc/PreSelection.cpp
@@ -222,7 +222,7 @@ void PreSelection::visitPHINode(PHINode &PN) {
// so just handle PHIs and other instructions separately.
//
for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
- visitOneOperand(I, PN.getIncomingValue(i),
+ visitOneOperand(PN, PN.getIncomingValue(i),
PN.getOperandNumForIncomingValue(i),
*PN.getIncomingBlock(i)->getTerminator());
// do not call visitOperands!
OpenPOWER on IntegriCloud