diff --git a/src/coreclr/jit/emit.cpp b/src/coreclr/jit/emit.cpp index d80cba4cb00e6c..e8d89a8d6d5365 100644 --- a/src/coreclr/jit/emit.cpp +++ b/src/coreclr/jit/emit.cpp @@ -3106,8 +3106,10 @@ void emitter::emitSplit(emitLocation* startLoc, // IGs are marked as prolog or epilog. We don't actually know if two adjacent // IGs are part of the *same* prolog or epilog, so we have to assume they are. - if (igPrev && (((igPrev->igFlags & IGF_FUNCLET_PROLOG) && (ig->igFlags & IGF_FUNCLET_PROLOG)) || - ((igPrev->igFlags & IGF_EPILOG) && (ig->igFlags & IGF_EPILOG)))) + if (igPrev && (((igPrev->igFlags & IGF_PROLOG) && (ig->igFlags & IGF_PROLOG)) || + ((igPrev->igFlags & IGF_EPILOG) && (ig->igFlags & IGF_EPILOG)) || + ((igPrev->igFlags & IGF_FUNCLET_PROLOG) && (ig->igFlags & IGF_FUNCLET_PROLOG)) || + ((igPrev->igFlags & IGF_FUNCLET_EPILOG) && (ig->igFlags & IGF_FUNCLET_EPILOG)))) { // We can't update the candidate }