mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[NFC] Move definition of variable now only used in debug builds
This commit is contained in:
parent
85362afc67
commit
513836d5fa
@ -2274,8 +2274,8 @@ bool AArch64InstructionSelector::select(MachineInstr &I) {
|
||||
}
|
||||
unsigned MemSizeInBits = MemSizeInBytes * 8;
|
||||
|
||||
const Register PtrReg = I.getOperand(1).getReg();
|
||||
#ifndef NDEBUG
|
||||
const Register PtrReg = I.getOperand(1).getReg();
|
||||
const RegisterBank &PtrRB = *RBI.getRegBank(PtrReg, MRI, TRI);
|
||||
// Sanity-check the pointer register.
|
||||
assert(PtrRB.getID() == AArch64::GPRRegBankID &&
|
||||
|
Loading…
Reference in New Issue
Block a user