summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Danes <onemihaid@hotmail.com>2017-09-16 11:32:10 +0300
committerMike Danes <onemihaid@hotmail.com>2017-09-16 11:32:10 +0300
commite67bd8f947dd2f5b29e4b0472db6bd482c8933ff (patch)
tree4e43a4517d854977652a27d5c2d69b86a75589ea /src
parent08053aef66b1bf1d61de4ee744181ec265718327 (diff)
downloadcoreclr-e67bd8f947dd2f5b29e4b0472db6bd482c8933ff.tar.gz
coreclr-e67bd8f947dd2f5b29e4b0472db6bd482c8933ff.tar.bz2
coreclr-e67bd8f947dd2f5b29e4b0472db6bd482c8933ff.zip
Remove dead code from TreeNodeInfoInitCmp
Diffstat (limited to 'src')
-rw-r--r--src/jit/lsraxarch.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/jit/lsraxarch.cpp b/src/jit/lsraxarch.cpp
index 280e2f36f0..80172577b1 100644
--- a/src/jit/lsraxarch.cpp
+++ b/src/jit/lsraxarch.cpp
@@ -2671,20 +2671,6 @@ void LinearScan::TreeNodeInfoInitCmp(GenTreePtr tree)
info->srcCount += GetOperandSourceCount(op1);
}
info->srcCount += GetOperandSourceCount(op2);
-
-#if !defined(_TARGET_64BIT_)
- // Long compares will consume GT_LONG nodes, each of which produces two results.
- // Thus for each long operand there will be an additional source.
- // TODO-X86-CQ: Mark hiOp2 and loOp2 as contained if it is a constant or a memory op.
- if (varTypeIsLong(op1Type))
- {
- info->srcCount++;
- }
- if (varTypeIsLong(op2Type))
- {
- info->srcCount++;
- }
-#endif // !defined(_TARGET_64BIT_)
}
//------------------------------------------------------------------------