Hrm, unbreak stuph :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-21 17:22:23 +00:00
parent ff3d5d9702
commit 08d702b61d
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Function.h"
#include "llvm/Constants.h"
#include "llvm/iTerminators.h"
#include "llvm/DerivedTypes.h"
static const uint32_t MAXLO = (1 << 10) - 1; // set bits set by %lo(*)

View File

@ -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!