but did not pass the arguments by reference!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1906
91177308-0d34-0410-b5e6-
96231b3b80d8
unsigned Opcode = MInst->getOpCode();
// do not process Phis
- if (TM.getInstrInfo().isPhi(Opcode))
+ if (TM.getInstrInfo().isDummyPhiInstr(Opcode))
continue;
// Now insert speical instructions (if necessary) for call/return
const int RegType,
const MachineInstr *MInst,
const ValueSet *LVSetBef,
- MachineInstr *MIBef,
- MachineInstr *MIAft) {
+ MachineInstr *&MIBef,
+ MachineInstr *&MIAft) {
int RegU = getUnusedUniRegAtMI(RC, MInst, LVSetBef);
unsigned Opcode = MInst->getOpCode();
// do not process Phis
- if (TM.getInstrInfo().isPhi(Opcode))
+ if (TM.getInstrInfo().isDummyPhiInstr(Opcode))
continue;
// Now insert speical instructions (if necessary) for call/return
const int RegType,
const MachineInstr *MInst,
const ValueSet *LVSetBef,
- MachineInstr *MIBef,
- MachineInstr *MIAft) {
+ MachineInstr *&MIBef,
+ MachineInstr *&MIAft) {
int RegU = getUnusedUniRegAtMI(RC, MInst, LVSetBef);