mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 09:01:37 +00:00
Remove usage of typedef
llvm-svn: 6583
This commit is contained in:
parent
846c593142
commit
1cb899dd19
@ -27,8 +27,7 @@
|
||||
/// have a destination register in mind.
|
||||
inline static MachineInstrBuilder BMI(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::iterator &I,
|
||||
MachineOpCode Opcode,
|
||||
unsigned NumOperands,
|
||||
int Opcode, unsigned NumOperands,
|
||||
unsigned DestReg) {
|
||||
assert(I >= MBB->begin() && I <= MBB->end() && "Bad iterator!");
|
||||
MachineInstr *MI = new MachineInstr(Opcode, NumOperands+1, true, true);
|
||||
@ -40,8 +39,7 @@ inline static MachineInstrBuilder BMI(MachineBasicBlock *MBB,
|
||||
/// instruction at as well as a basic block.
|
||||
inline static MachineInstrBuilder BMI(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::iterator &I,
|
||||
MachineOpCode Opcode,
|
||||
unsigned NumOperands) {
|
||||
int Opcode, unsigned NumOperands) {
|
||||
assert(I >= MBB->begin() && I <= MBB->end() && "Bad iterator!");
|
||||
MachineInstr *MI = new MachineInstr(Opcode, NumOperands, true, true);
|
||||
I = MBB->insert(I, MI)+1;
|
||||
|
Loading…
Reference in New Issue
Block a user