Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 369bda2

Browse files
author
Sergey Andreenko
authored
replace unreached with assert(false) (#17359)
1 parent 22ce24e commit 369bda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jit/lower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4720,7 +4720,7 @@ GenTree* Lowering::LowerConstIntDivOrMod(GenTree* node)
47204720
assert((type == TYP_INT) || (type == TYP_LONG));
47214721

47224722
#if defined(USE_HELPERS_FOR_INT_DIV)
4723-
unreached();
4723+
assert(!"unreachable: GT_DIV/GT_MOD should get morphed into helper calls");
47244724
#endif // USE_HELPERS_FOR_INT_DIV
47254725

47264726
if (dividend->IsCnsIntOrI())

0 commit comments

Comments
 (0)