From: Brian Sullivan Date: Sat, 25 Mar 2017 00:51:47 +0000 (-0700) Subject: CR feedback X-Git-Tag: accepted/tizen/base/20180629.140029~1716^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=794c465391dfea71d493889ccd0c0123179720d1;p=platform%2Fupstream%2Fcoreclr.git CR feedback Removed assert about BB_NONE --- diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp index 4c414f6..6cd5f3a 100644 --- a/src/jit/flowgraph.cpp +++ b/src/jit/flowgraph.cpp @@ -12696,15 +12696,13 @@ void Compiler::fgComputeEdgeWeights() { BasicBlock* firstILBlock = fgFirstBB; // The first block for IL code (i.e. for the IL code at offset 0) - // Did we allocate a scratch block as the new first BB? - if (fgFirstBBisScratch()) + // Do we have an internal block as our first Block? + if (firstILBlock->bbFlags & BBF_INTERNAL) { // Skip past any/all BBF_INTERNAL blocks that may have been added before the first real IL block. - // These internal blocks all should be BBJ_NONE blocks. // while (firstILBlock->bbFlags & BBF_INTERNAL) { - assert(firstILBlock->bbJumpKind == BBJ_NONE); firstILBlock = firstILBlock->bbNext; } // The 'firstILBlock' is now expected to have a profile-derived weight