From f020568a7c890b15b8d8039cb91ea157877dc68f Mon Sep 17 00:00:00 2001 From: Bruce Forstall Date: Sun, 12 Mar 2017 17:58:08 -0700 Subject: [PATCH] Remove dead code (dotnet/coreclr#10128) Remove code under `#ifdef PROTO_JIT`, which hasn't been defined in a long time. I'm presuming that since this hasn't been defined in a long time that the code isn't needed. Commit migrated from https://github.com/dotnet/coreclr/commit/35601f5a854beaf487b4b10974dd8fa31e05ef42 --- src/coreclr/src/jit/gentree.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/coreclr/src/jit/gentree.cpp b/src/coreclr/src/jit/gentree.cpp index 947314f..3a9e8a0 100644 --- a/src/coreclr/src/jit/gentree.cpp +++ b/src/coreclr/src/jit/gentree.cpp @@ -7108,12 +7108,6 @@ fgArgTabEntryPtr Compiler::gtArgEntryByNode(GenTreePtr call, GenTreePtr node) { return curArgTabEntry; } -#ifdef PROTO_JIT - else if (node->OperGet() == GT_RELOAD && node->gtOp.gtOp1 == curArgTabEntry->node) - { - return curArgTabEntry; - } -#endif // PROTO_JIT else if (curArgTabEntry->parent != nullptr) { assert(curArgTabEntry->parent->OperIsList()); -- 2.7.4