mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Remove usage of typedef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4052cf998f
commit
8cc72d2968
@ -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;
|
||||
|
@ -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