ir_opt/a64_callback_config_pass: Mark locals as const where applicable
Makes our immutable state a little more explicit.
This commit is contained in:
parent
dc97977576
commit
1a45f35b9c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void A64CallbackConfigPass(IR::Block& block, const A64::UserConfig& conf) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto op = static_cast<A64::DataCacheOperation>(inst.GetArg(0).GetU64());
|
const auto op = static_cast<A64::DataCacheOperation>(inst.GetArg(0).GetU64());
|
||||||
if (op == A64::DataCacheOperation::ZeroByVA) {
|
if (op == A64::DataCacheOperation::ZeroByVA) {
|
||||||
A64::IREmitter ir{block};
|
A64::IREmitter ir{block};
|
||||||
ir.SetInsertionPoint(&inst);
|
ir.SetInsertionPoint(&inst);
|
||||||
|
|
Loading…
Reference in a new issue