forked from OSchip/llvm-project
parent
5812f06b30
commit
ee285c1df9
|
@ -190,6 +190,10 @@ public:
|
|||
return regNum;
|
||||
}
|
||||
|
||||
inline unsigned getReg() const {
|
||||
assert(hasAllocatedReg() && "Cannot call MachineOperand::getReg()!");
|
||||
return regNum;
|
||||
}
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const MachineOperand& mop);
|
||||
|
||||
|
|
Loading…
Reference in New Issue