summaryrefslogtreecommitdiff
path: root/src/jit/treelifeupdater.cpp
diff options
context:
space:
mode:
authorBrian Bohe <brianbohe@gmail.com>2019-03-20 10:08:01 -0700
committerSergey Andreenko <seandree@microsoft.com>2019-03-20 10:08:01 -0700
commit0ee508291b7cec2b0a0d5e7929846d3e40446810 (patch)
tree506766adeb5b34388d56c6514a686b94f6574eb7 /src/jit/treelifeupdater.cpp
parent69ec6463cd14b5478dbd6b577ce0483fc0a838c3 (diff)
downloadcoreclr-0ee508291b7cec2b0a0d5e7929846d3e40446810.tar.gz
coreclr-0ee508291b7cec2b0a0d5e7929846d3e40446810.tar.bz2
coreclr-0ee508291b7cec2b0a0d5e7929846d3e40446810.zip
Adding a flag to able/disable scope info (#23298)
* Flag USING_SCOPE_INGO definition * Enclosing siScope's related functions uses with USING_SCOPE_INFO flag definition check * Encapsulating genSetScopeInfo when using siVarScope * Moving comment inside flag defined block * Include siScope/psiScope functions only when flag USING_SCOPE_INFO is defined * Disable scope info * Typo * Adding comment flag name on #endif * Remove redundant access levels/flags * Repeating last accessibility level in case flag is disabled * Setting use of siScope and psiScope as default way of reporting variable homes
Diffstat (limited to 'src/jit/treelifeupdater.cpp')
-rw-r--r--src/jit/treelifeupdater.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jit/treelifeupdater.cpp b/src/jit/treelifeupdater.cpp
index ecfdaeee86..d5e3ad9a0b 100644
--- a/src/jit/treelifeupdater.cpp
+++ b/src/jit/treelifeupdater.cpp
@@ -245,8 +245,9 @@ void TreeLifeUpdater<ForCodeGen>::UpdateLifeVar(GenTree* tree)
}
#endif // DEBUG
}
-
+#ifdef USING_SCOPE_INFO
compiler->codeGen->siUpdate();
+#endif // USING_SCOPE_INFO
}
}