summaryrefslogtreecommitdiff
path: root/src/jit/earlyprop.cpp
diff options
context:
space:
mode:
authorPetr Onderka <gsvick@gmail.com>2016-08-31 21:18:35 +0200
committerPetr Onderka <gsvick@gmail.com>2016-08-31 21:18:35 +0200
commit60575486b9b7156b219b7e42d0e188a29be58304 (patch)
treeee3b79e8a8c7fb7622f4b8cd8643990214ea24d1 /src/jit/earlyprop.cpp
parent74ac12bf9966c5f0f6c58b72bbb99b08727c3d4e (diff)
downloadcoreclr-60575486b9b7156b219b7e42d0e188a29be58304.tar.gz
coreclr-60575486b9b7156b219b7e42d0e188a29be58304.tar.bz2
coreclr-60575486b9b7156b219b7e42d0e188a29be58304.zip
Removed unused variable
Diffstat (limited to 'src/jit/earlyprop.cpp')
-rw-r--r--src/jit/earlyprop.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jit/earlyprop.cpp b/src/jit/earlyprop.cpp
index 70d1012aa0..0034b4a0ad 100644
--- a/src/jit/earlyprop.cpp
+++ b/src/jit/earlyprop.cpp
@@ -190,7 +190,6 @@ void Compiler::optEarlyProp()
// Walk the stmt tree in linear order to rewrite any array length reference with a
// constant array length.
bool isRewritten = false;
- bool bbHasNullCheck = (block->bbFlags & BBF_HAS_NULLCHECK) != 0;
for (GenTreePtr tree = stmt->gtStmt.gtStmtList; tree != nullptr; tree = tree->gtNext)
{
if (optEarlyPropRewriteTree(tree))