diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index fcf7bab09fcff..a1023d4c32ce4 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/include/llvm/CodeGen/MachineBasicBlock.h @@ -547,8 +547,8 @@ class MachineBasicBlock using pointer = const RegisterMaskPair *; using reference = const RegisterMaskPair &; - liveout_iterator(const MachineBasicBlock &MBB, MCPhysReg ExceptionPointer, - MCPhysReg ExceptionSelector, bool End) + liveout_iterator(const MachineBasicBlock &MBB, MCRegister ExceptionPointer, + MCRegister ExceptionSelector, bool End) : ExceptionPointer(ExceptionPointer), ExceptionSelector(ExceptionSelector), BlockI(MBB.succ_begin()), BlockEnd(MBB.succ_end()) { @@ -613,7 +613,7 @@ class MachineBasicBlock return true; } - MCPhysReg ExceptionPointer, ExceptionSelector; + MCRegister ExceptionPointer, ExceptionSelector; const_succ_iterator BlockI; const_succ_iterator BlockEnd; livein_iterator LiveRegI;