Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 5d1a15e

Browse files
committed
Merge pull request #3779 from briansull/issue-3778
Fix for Issue 3778
2 parents 8258a31 + 400ff77 commit 5d1a15e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jit/compiler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4785,6 +4785,9 @@ int Compiler::compCompileHelper (CORINFO_MODULE_HANDLE clas
47854785
#ifdef DEBUG
47864786
compCurBB = 0;
47874787
lvaTable = 0;
4788+
4789+
// Reset node ID counter
4790+
compGenTreeID = 0;
47884791
#endif
47894792

47904793
/* Initialize emitter */
@@ -4939,9 +4942,6 @@ int Compiler::compCompileHelper (CORINFO_MODULE_HANDLE clas
49394942
{
49404943
s_compMethodsCount++;
49414944
}
4942-
4943-
// Reset node ID counter
4944-
compGenTreeID = 0;
49454945
#endif
49464946

49474947
if (compIsForInlining())

0 commit comments

Comments
 (0)