File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6834,9 +6834,9 @@ namespace Js
68346834 - If the size is >= 100, scale by 1.6
68356835 */
68366836 const uint loopPercentage = GetByteCodeInLoopCount () * 100 / max (1u , GetByteCodeCount ());
6837- const int byteCodeSizeThresholdForInlineCandidate = CONFIG_FLAG (InlineThreshold) + CONFIG_FLAG (InlineThresholdAdjustCountInSmallFunction );
6837+ const int byteCodeSizeThresholdForInlineCandidate = CONFIG_FLAG (LoopInlineThreshold );
68386838 bool delayFullJITThisFunc =
6839- (CONFIG_FLAG (DelayFullJITSmallFunc) > 0 ) && (byteCodeSizeThresholdForInlineCandidate < 0 || this ->GetByteCodeWithoutLDACount () > (uint)byteCodeSizeThresholdForInlineCandidate);
6839+ (CONFIG_FLAG (DelayFullJITSmallFunc) > 0 ) && (this ->GetByteCodeWithoutLDACount () <= (uint)byteCodeSizeThresholdForInlineCandidate);
68406840
68416841 if (loopPercentage <= 50 || delayFullJITThisFunc)
68426842 {
You can’t perform that action at this time.
0 commit comments