diff options
-rw-r--r-- | src/jit/gentree.h | 2 | ||||
-rw-r--r-- | src/jit/scopeinfo.cpp | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index 5c8ba8028d..cca3ddb1e1 100644 --- a/src/jit/gentree.h +++ b/src/jit/gentree.h @@ -2733,7 +2733,7 @@ public: struct GenTreeLclVar : public GenTreeLclVarCommon { - INDEBUG(IL_OFFSET gtLclILoffs;) // instr offset of ref (only for debug) + INDEBUG(IL_OFFSET gtLclILoffs;) // instr offset of ref (only for JIT dumps) GenTreeLclVar(var_types type, unsigned lclNum DEBUGARG(IL_OFFSET ilOffs = BAD_IL_OFFSET) DEBUGARG(bool largeNode = false)) diff --git a/src/jit/scopeinfo.cpp b/src/jit/scopeinfo.cpp index d70a33b082..94a0c81d08 100644 --- a/src/jit/scopeinfo.cpp +++ b/src/jit/scopeinfo.cpp @@ -702,13 +702,6 @@ void CodeGen::siUpdate() } /***************************************************************************** - * In optimized code, we may not have access to gtLclVar.gtLclILoffs. - * So there may be ambiguity as to which entry in compiler->info.compVarScopes - * to use. We search the entire table and find the entry whose life - * begins closest to the given offset. - */ - -/***************************************************************************** * siCheckVarScope * * For non-debuggable code, whenever we come across a GenTree which is an |