diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2018-04-20 01:28:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 01:28:19 -0700 |
commit | 10b2161a6f7f5ccb8dffde4c7c82c926447dbb0b (patch) | |
tree | 5110311e6fbaf145c051e0d7d81f62ab86a99fb6 /src | |
parent | b3c61a9d3f5ad6850636c200d32696819b13228a (diff) | |
download | coreclr-10b2161a6f7f5ccb8dffde4c7c82c926447dbb0b.tar.gz coreclr-10b2161a6f7f5ccb8dffde4c7c82c926447dbb0b.tar.bz2 coreclr-10b2161a6f7f5ccb8dffde4c7c82c926447dbb0b.zip |
fix DevDiv_601045 assert (#17685)
Diffstat (limited to 'src')
-rw-r--r-- | src/jit/emit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jit/emit.cpp b/src/jit/emit.cpp index 32524ea5ed..93791bdc78 100644 --- a/src/jit/emit.cpp +++ b/src/jit/emit.cpp @@ -7254,7 +7254,9 @@ const char* emitter::emitOffsetToLabel(unsigned offs) for (ig = emitIGlist; ig != nullptr; ig = ig->igNext) { - assert(nextof == ig->igOffs); + // There is an eventual unused space after the last actual hot block + // before the first allocated cold block. + assert((nextof == ig->igOffs) || (ig == emitFirstColdIG)); if (ig->igOffs == offs) { |