Skip to content
  • Jakob Stoklund Olesen's avatar
    Move use list management into MachineRegisterInfo. · c4102d49
    Jakob Stoklund Olesen authored
    Register MachineOperands are kept in linked lists accessible via MRI's
    reg_iterator interfaces. The linked list management was handled partly
    by MachineOperand methods, partly by MRI methods.
    
    Move all of the list management into MRI, delete
    MO::AddRegOperandToRegInfo() and MO::RemoveRegOperandFromRegInfo().
    
    Be more explicit about handling the cases where an MRI pointer isn't
    available.
    
    llvm-svn: 161632
    c4102d49
Loading