mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01: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). llvm-svn: 265513
This commit is contained in:
parent
8623ebcaee
commit
1dd3b523a9
@ -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…
Reference in New Issue
Block a user