[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jul 31 02:44:42 PDT 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.28 -> 1.29
---
Log message:
Simplify code a bit.
---
Diffs of the changes: (+1 -3)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.28 llvm/lib/Target/X86/X86InstrInfo.cpp:1.29
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.28 Sat Jul 31 04:41:44 2004
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Sat Jul 31 04:44:32 2004
@@ -67,7 +67,5 @@
}
MachineBasicBlock* MBB = MI->getParent();
MachineBasicBlock* TMBB = MI->getOperand(0).getMachineBasicBlock();
- MachineInstrBuilder IB = BuildMI(*MBB, MBB->erase(MI), ROpcode, 1);
- IB.addMBB(TMBB);
- return IB;
+ return BuildMI(*MBB, MBB->erase(MI), ROpcode, 1).addMBB(TMBB);
}
More information about the llvm-commits
mailing list