mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
LivePhysReg: Use reference instead of pointer in init(); NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -125,7 +125,7 @@ bool StackMapLiveness::calculateLiveness(MachineFunction &MF) {
|
||||
// For all basic blocks in the function.
|
||||
for (auto &MBB : MF) {
|
||||
DEBUG(dbgs() << "****** BB " << MBB.getName() << " ******\n");
|
||||
LiveRegs.init(TRI);
|
||||
LiveRegs.init(*TRI);
|
||||
// FIXME: This should probably be addLiveOuts().
|
||||
LiveRegs.addLiveOutsNoPristines(MBB);
|
||||
bool HasStackMap = false;
|
||||
|
||||
Reference in New Issue
Block a user