mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
Fix -Wunused-lambda-capture for -DLLVM_ENABLE_ASSERTIONS=off builds after 6556c615f3
This commit is contained in:
parent
08c0a06d8f
commit
ee3f13b81d
@ -203,6 +203,7 @@ AMDGPURegisterBankInfo::AMDGPURegisterBankInfo(const GCNSubtarget &ST)
|
||||
assert(&getRegBank(AMDGPU::SGPRRegBankID) == &AMDGPU::SGPRRegBank &&
|
||||
&getRegBank(AMDGPU::VGPRRegBankID) == &AMDGPU::VGPRRegBank &&
|
||||
&getRegBank(AMDGPU::AGPRRegBankID) == &AMDGPU::AGPRRegBank);
|
||||
(void)this;
|
||||
};
|
||||
|
||||
llvm::call_once(InitializeRegisterBankFlag, InitializeRegisterBankOnce);
|
||||
|
Loading…
Reference in New Issue
Block a user