Start NextMBBNumber out at zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-05-12 21:35:23 +00:00
parent 0bcb1ad7be
commit d657c42dce

View File

@ -87,7 +87,7 @@ FunctionPass *llvm::createMachineCodeDeleter() {
MachineFunction::MachineFunction(const Function *F,
const TargetMachine &TM)
: Annotation(MF_AID), Fn(F), Target(TM) {
: Annotation(MF_AID), Fn(F), Target(TM), NextMBBNumber(0) {
SSARegMapping = new SSARegMap();
MFInfo = new MachineFunctionInfo(*this);
FrameInfo = new MachineFrameInfo();