summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2016-03-25 17:34:50 -0700
committerBrian Sullivan <briansul@microsoft.com>2016-03-25 17:34:50 -0700
commit1378dbbb0baffc737018503adb0310859a46eb0c (patch)
treee2579ba0de626ce1e551789899746c41871b8e75
parent117825e88bb1c21f626938a8b101fcd175015319 (diff)
parent46460db255be36aeb52cb1df9156b7b0b06e380c (diff)
downloadcoreclr-1378dbbb0baffc737018503adb0310859a46eb0c.tar.gz
coreclr-1378dbbb0baffc737018503adb0310859a46eb0c.tar.bz2
coreclr-1378dbbb0baffc737018503adb0310859a46eb0c.zip
Merge pull request #3934 from briansull/remove-lvaAdjustRefCnts
Remove empty phase lvaAdjustRefCnts
-rw-r--r--src/jit/compiler.cpp11
-rw-r--r--src/jit/compiler.h2
-rw-r--r--src/jit/compiler.hpp4
-rw-r--r--src/jit/compphases.h2
4 files changed, 0 insertions, 19 deletions
diff --git a/src/jit/compiler.cpp b/src/jit/compiler.cpp
index fcc8ea9342..4274a78837 100644
--- a/src/jit/compiler.cpp
+++ b/src/jit/compiler.cpp
@@ -3883,17 +3883,6 @@ void Compiler::compCompile(void * * methodCodePtr,
fgDebugCheckLinks();
#endif
- if (!opts.MinOpts() && !opts.compDbgCode)
- {
- /* Adjust ref counts based on interference levels */
-
- lvaAdjustRefCnts();
- EndPhase(PHASE_LVA_ADJUST_REF_COUNTS);
- }
-
-#ifdef DEBUG
- fgDebugCheckBBlist();
-#endif
/* Enable this to gather statistical data such as
* call and register argument info, flowgraph and loop info, etc. */
diff --git a/src/jit/compiler.h b/src/jit/compiler.h
index 6fe376902b..abbb611753 100644
--- a/src/jit/compiler.h
+++ b/src/jit/compiler.h
@@ -2407,8 +2407,6 @@ public :
void lvaRecursiveDecRefCounts(GenTreePtr tree);
void lvaRecursiveIncRefCounts(GenTreePtr tree);
- void lvaAdjustRefCnts ();
-
#ifdef DEBUG
struct lvaStressLclFldArgs
{
diff --git a/src/jit/compiler.hpp b/src/jit/compiler.hpp
index 21c9176617..cabd6ba8cd 100644
--- a/src/jit/compiler.hpp
+++ b/src/jit/compiler.hpp
@@ -2530,10 +2530,6 @@ var_types Compiler::lvaGetRealType(unsigned lclNum)
return lvaTable[lclNum].TypeGet();
}
-/*****************************************************************************/
-inline void Compiler::lvaAdjustRefCnts() {}
-
-
/*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
diff --git a/src/jit/compphases.h b/src/jit/compphases.h
index cba5148dcb..9291e227cf 100644
--- a/src/jit/compphases.h
+++ b/src/jit/compphases.h
@@ -70,8 +70,6 @@ CompPhaseNameMacro(PHASE_LCLVARLIVENESS_INIT, "Local var liveness init",
CompPhaseNameMacro(PHASE_LCLVARLIVENESS_PERBLOCK,"Per block local var liveness", "LIV-BLK", false, PHASE_LCLVARLIVENESS)
CompPhaseNameMacro(PHASE_LCLVARLIVENESS_INTERBLOCK, "Global local var liveness", "LIV-GLBL", false, PHASE_LCLVARLIVENESS)
-CompPhaseNameMacro(PHASE_LVA_ADJUST_REF_COUNTS, "LVA adjust ref counts", "REF-CNT", false, -1)
-
#ifdef LEGACY_BACKEND
CompPhaseNameMacro(PHASE_RA_ASSIGN_VARS, "RA assign vars", "REGALLOC", false, -1)
#endif // LEGACY_BACKEND