summaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2018-03-30 16:14:25 -0700
committerGitHub <noreply@github.com>2018-03-30 16:14:25 -0700
commit369bda26c29e1154ee8180b68164daec331a2a36 (patch)
treedcf2716801ab9089ae7e21ee796231e3937f8965 /src/jit
parent22ce24ec7f1ea042c56a6531489def81c6fd7b02 (diff)
downloadcoreclr-369bda26c29e1154ee8180b68164daec331a2a36.tar.gz
coreclr-369bda26c29e1154ee8180b68164daec331a2a36.tar.bz2
coreclr-369bda26c29e1154ee8180b68164daec331a2a36.zip
replace unreached with assert(false) (#17359)
Diffstat (limited to 'src/jit')
-rw-r--r--src/jit/lower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index ba5b1a0041..1cbc1fd360 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -4720,7 +4720,7 @@ GenTree* Lowering::LowerConstIntDivOrMod(GenTree* node)
assert((type == TYP_INT) || (type == TYP_LONG));
#if defined(USE_HELPERS_FOR_INT_DIV)
- unreached();
+ assert(!"unreachable: GT_DIV/GT_MOD should get morphed into helper calls");
#endif // USE_HELPERS_FOR_INT_DIV
if (dividend->IsCnsIntOrI())