summaryrefslogtreecommitdiff
path: root/src/jit/lower.cpp
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2018-05-25 15:02:20 -0700
committerGitHub <noreply@github.com>2018-05-25 15:02:20 -0700
commitb4a869246b892ec8f513a6a0c9a5ea3d6755383c (patch)
tree9f4d99b78d75780409d4764515ee5f0076774457 /src/jit/lower.cpp
parenteefd8d7805eb7f984449b88f48e27b11a06fcaba (diff)
downloadcoreclr-b4a869246b892ec8f513a6a0c9a5ea3d6755383c.tar.gz
coreclr-b4a869246b892ec8f513a6a0c9a5ea3d6755383c.tar.bz2
coreclr-b4a869246b892ec8f513a6a0c9a5ea3d6755383c.zip
delete unused variables from jit (#18121)
Diffstat (limited to 'src/jit/lower.cpp')
-rw-r--r--src/jit/lower.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index efd927bc16..41a2a843ce 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -2293,11 +2293,10 @@ GenTree* Lowering::LowerTailCallViaHelper(GenTreeCall* call, GenTree* callTarget
// The callTarget tree needs to be sequenced.
LIR::Range callTargetRange = LIR::SeqTree(comp, callTarget);
- fgArgTabEntry* argEntry;
-
#if defined(_TARGET_AMD64_) || defined(_TARGET_ARM_)
-// For ARM32 and AMD64, first argument is CopyRoutine and second argument is a place holder node.
+ // For ARM32 and AMD64, first argument is CopyRoutine and second argument is a place holder node.
+ fgArgTabEntry* argEntry;
#ifdef DEBUG
argEntry = comp->gtArgEntryByArgNum(call, 0);
@@ -2336,6 +2335,8 @@ GenTree* Lowering::LowerTailCallViaHelper(GenTreeCall* call, GenTree* callTarget
unsigned numArgs = call->fgArgInfo->ArgCount();
+ fgArgTabEntry* argEntry;
+
// arg 0 == callTarget.
argEntry = comp->gtArgEntryByArgNum(call, numArgs - 1);
assert(argEntry != nullptr);