projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414126e
)
Fix issue 3778
author
Brian Sullivan
<briansul@microsoft.com>
Wed, 16 Mar 2016 23:45:28 +0000
(16:45 -0700)
committer
Brian Sullivan
<briansul@microsoft.com>
Wed, 16 Mar 2016 23:45:28 +0000
(16:45 -0700)
Move the initialization of compGenTreeID to earlier in Compiler::compCompileHelper
src/jit/compiler.cpp
patch
|
blob
|
history
diff --git
a/src/jit/compiler.cpp
b/src/jit/compiler.cpp
index
19d20ef
..
c6c405a
100644
(file)
--- a/
src/jit/compiler.cpp
+++ b/
src/jit/compiler.cpp
@@
-4785,6
+4785,9
@@
int Compiler::compCompileHelper (CORINFO_MODULE_HANDLE clas
#ifdef DEBUG
compCurBB = 0;
lvaTable = 0;
+
+ // Reset node ID counter
+ compGenTreeID = 0;
#endif
/* Initialize emitter */
@@
-4939,9
+4942,6
@@
int Compiler::compCompileHelper (CORINFO_MODULE_HANDLE clas
{
s_compMethodsCount++;
}
-
- // Reset node ID counter
- compGenTreeID = 0;
#endif
if (compIsForInlining())