From 32b1df2aa3b171f02660a38102e2082dc8863648 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 24 Sep 2007 16:44:26 +0000 Subject: [PATCH] The code that used the StartLabelId label was removed, so remove the code that creates the label too. llvm-svn: 42265 --- lib/Target/X86/X86RegisterInfo.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 623fa510f72..f4907c14f5a 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -1278,18 +1278,12 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const { MachineBasicBlock::iterator MBBI = MBB.begin(); // Prepare for frame info. - unsigned FrameLabelId = 0, StartLabelId = 0; + unsigned FrameLabelId = 0; // Get the number of bytes to allocate from the FrameInfo uint64_t StackSize = MFI->getStackSize(); uint64_t NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); - if (MMI && MMI->needsFrameInfo()) { - // Mark function start - StartLabelId = MMI->NextLabelID(); - BuildMI(MBB, MBBI, TII.get(X86::LABEL)).addImm(StartLabelId); - } - if (hasFP(MF)) { // Get the offset of the stack slot for the EBP register... which is // guaranteed to be the last slot by processFunctionBeforeFrameFinalized.