mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
AArch64: Fix compile error
Fixed to adapt a use of enterBasicBlock() in my last commit (because I had follow on patches in my repository that change the code). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc2f859a3f
commit
525c4ba52f
@ -245,7 +245,7 @@ static unsigned findScratchNonCalleeSaveRegister(MachineBasicBlock *MBB) {
|
||||
return AArch64::X9;
|
||||
|
||||
RegScavenger RS;
|
||||
RS.enterBasicBlock(MBB);
|
||||
RS.enterBasicBlock(*MBB);
|
||||
|
||||
// Prefer X9 since it was historically used for the prologue scratch reg.
|
||||
if (!RS.isRegUsed(AArch64::X9))
|
||||
|
Loading…
x
Reference in New Issue
Block a user