unwind: silence op precedence warn

This commit is contained in:
Simon Renblad 2024-12-17 16:17:15 +08:00
parent 5582ca74d2
commit 092c577479

View File

@ -1434,7 +1434,7 @@ bool UnwindCursor<A, R>::getInfoFromEHABISection(
_info.unwind_info = exceptionTableAddr;
_info.lsda = lsda;
// flags is pr_cache.additional. See EHABI #7.2 for definition of bit 0.
_info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0; // Use enum?
_info.flags = isSingleWordEHT ? 1 : (0 | scope32) ? 0x2 : 0; // Use enum?
return true;
}