From af94355b2ba32c4baa8b76c2e57d81322f1780d8 Mon Sep 17 00:00:00 2001 From: Mikhail Skvortcov Date: Mon, 6 Feb 2017 17:46:17 +0300 Subject: RyuJIT/ARM32: Enable P/Invoke lowering. --- src/jit/lsra.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/jit/lsra.cpp') diff --git a/src/jit/lsra.cpp b/src/jit/lsra.cpp index 2d317a79f1..a431019437 100644 --- a/src/jit/lsra.cpp +++ b/src/jit/lsra.cpp @@ -2758,6 +2758,8 @@ regMaskTP LinearScan::getKillSetForNode(GenTree* tree) needFloatTmpForFPCall = true; } } +#endif // _TARGET_X86_ +#if defined(_TARGET_X86_) || defined(_TARGET_ARM_) if (tree->IsHelperCall()) { GenTreeCall* call = tree->AsCall(); @@ -2765,7 +2767,7 @@ regMaskTP LinearScan::getKillSetForNode(GenTree* tree) killMask = compiler->compHelperCallKillSet(helpFunc); } else -#endif // _TARGET_X86_ +#endif // defined(_TARGET_X86_) || defined(_TARGET_ARM_) { // if there is no FP used, we can ignore the FP kills if (compiler->compFloatingPointUsed) -- cgit v1.2.3