diff --git a/src/dynarmic/frontend/decoder/decoder_detail.h b/src/dynarmic/frontend/decoder/decoder_detail.h index 98bccff7..b5541d62 100644 --- a/src/dynarmic/frontend/decoder/decoder_detail.h +++ b/src/dynarmic/frontend/decoder/decoder_detail.h @@ -104,7 +104,10 @@ struct detail { } } +#ifndef DYNARMIC_IGNORE_ASSERTS + // Avoids a MSVC ICE. ASSERT(std::all_of(masks.begin(), masks.end(), [](auto m) { return m != 0; })); +#endif return std::make_tuple(masks, shifts); }