summaryrefslogtreecommitdiff
path: root/src/jit/lower.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r--src/jit/lower.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index ae207f0c9c..531e0da755 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -21,8 +21,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#pragma hdrstop
#endif
-#ifndef LEGACY_BACKEND // This file is ONLY used for the RyuJIT backend that uses the linear scan register allocator
-
#include "lower.h"
#if !defined(_TARGET_64BIT_)
@@ -144,7 +142,7 @@ GenTree* Lowering::LowerNode(GenTree* node)
case GT_MUL:
case GT_MULHI:
-#if defined(_TARGET_X86_) && !defined(LEGACY_BACKEND)
+#if defined(_TARGET_X86_)
case GT_MUL_LONG:
#endif
ContainCheckMul(node->AsOp());
@@ -562,7 +560,6 @@ GenTree* Lowering::LowerSwitch(GenTree* node)
// I think this is due to the fact that we use absolute addressing
// instead of relative. But in CoreRT is used as a rule relative
// addressing when we generate an executable.
- // This bug is also present in Legacy JIT.
// See also https://github.com/dotnet/coreclr/issues/13194
// Also https://github.com/dotnet/coreclr/pull/13197
useJumpSequence = useJumpSequence || comp->IsTargetAbi(CORINFO_CORERT_ABI);
@@ -5985,5 +5982,3 @@ void Lowering::ContainCheckJTrue(GenTreeOp* node)
cmp->gtType = TYP_VOID;
cmp->gtFlags |= GTF_SET_FLAGS;
}
-
-#endif // !LEGACY_BACKEND