summaryrefslogtreecommitdiff
path: root/src/jit/gentree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/gentree.cpp')
-rw-r--r--src/jit/gentree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/gentree.cpp b/src/jit/gentree.cpp
index fc1250ccac..1f60fe6169 100644
--- a/src/jit/gentree.cpp
+++ b/src/jit/gentree.cpp
@@ -2983,7 +2983,7 @@ bool Compiler::gtIsLikelyRegVar(GenTree* tree)
return false;
}
- if (varDsc->lvRefCntWtd < (BB_UNITY_WEIGHT * 3))
+ if (varDsc->lvRefCntWtd() < (BB_UNITY_WEIGHT * 3))
{
return false;
}