Revert 105986; looks like I'd better try bootstrapping.

llvm-svn: 105988
This commit is contained in:
Dale Johannesen 2010-06-15 04:55:06 +00:00
parent d52caa5244
commit 3f253d2353
1 changed files with 2 additions and 4 deletions

View File

@ -1279,11 +1279,9 @@ void X86RegisterInfo::emitEpilogue(MachineFunction &MF,
for (unsigned i = 0; i != 5; ++i)
MIB.addOperand(MBBI->getOperand(i));
} else if (RetOpcode == X86::TCRETURNri64) {
BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr64)).
addReg(JumpTarget.getReg(), JumpTarget.getTargetFlags());
BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr64), JumpTarget.getReg());
} else {
BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr)).
addReg(JumpTarget.getReg(), JumpTarget.getTargetFlags());
BuildMI(MBB, MBBI, DL, TII.get(X86::TAILJMPr), JumpTarget.getReg());
}
MachineInstr *NewMI = prior(MBBI);