diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index b01d2969b79..311d37eeb39 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -303,10 +303,10 @@ public: /// register. VarInfo &getVarInfo(unsigned RegIdx); - void MarkVirtRegAliveInBlock(VarInfo &VRInfo, MachineBasicBlock *BB); - void MarkVirtRegAliveInBlock(VarInfo &VRInfo, MachineBasicBlock *BB, + void MarkVirtRegAliveInBlock(unsigned reg, MachineBasicBlock *BB); + void MarkVirtRegAliveInBlock(unsigned reg, MachineBasicBlock *BB, std::vector &WorkList); - void HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB, + void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB, MachineInstr *MI); };