Hrm, unbreak stuph :(

llvm-svn: 9334
This commit is contained in:
Chris Lattner 2003-10-21 17:22:23 +00:00
parent 19f471f002
commit 7a75f6b7d4
2 changed files with 2 additions and 1 deletions

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!

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(*)