diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2017-10-16 22:07:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 22:07:15 -0700 |
commit | 1d43cec000dd6ece495ace8c4b22216871ae5346 (patch) | |
tree | 6ee7900ecdf07c96ccee26d86e41719c50e42154 /src/jit/lsraarmarch.cpp | |
parent | fae8cc77819402d143042da5cffeb36dd2c0aecf (diff) | |
parent | ad08b96c468620f60cd0bee996289c641d154ec6 (diff) | |
download | coreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.tar.gz coreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.tar.bz2 coreclr-1d43cec000dd6ece495ace8c4b22216871ae5346.zip |
Merge pull request #14350 from CarolEidt/LsraInfoCleanup
Cleanup of Lowering & LsraInfo
Diffstat (limited to 'src/jit/lsraarmarch.cpp')
-rw-r--r-- | src/jit/lsraarmarch.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/jit/lsraarmarch.cpp b/src/jit/lsraarmarch.cpp index ffa25a0bb4..b3e9bfa054 100644 --- a/src/jit/lsraarmarch.cpp +++ b/src/jit/lsraarmarch.cpp @@ -92,15 +92,8 @@ void LinearScan::TreeNodeInfoInitCmp(GenTreePtr tree) { TreeNodeInfo* info = &(tree->gtLsraInfo); + assert((info->dstCount == 1) || (tree->TypeGet() == TYP_VOID)); info->srcCount = tree->gtOp.gtOp2->isContained() ? 1 : 2; - if (info->isNoRegCompare) - { - info->dstCount = 0; - } - else - { - assert((info->dstCount == 1) || tree->OperIs(GT_CMP, GT_TEST_EQ, GT_TEST_NE)); - } } void LinearScan::TreeNodeInfoInitGCWriteBarrier(GenTree* tree) |