diff options
author | Julius R Friedman <juliusfriedman@users.noreply.github.com> | 2018-12-11 00:42:06 -0500 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2018-12-10 21:42:06 -0800 |
commit | e1a5d0fca2ccd95ef8c21167343f4fdd017b53a6 (patch) | |
tree | 3fca4dd148e7a7e4f1e904f0471d70d7d175271a /src/jit/morph.cpp | |
parent | 9fe157072d6551781200a0ce3e3321fd3dafcc0d (diff) | |
download | coreclr-e1a5d0fca2ccd95ef8c21167343f4fdd017b53a6.tar.gz coreclr-e1a5d0fca2ccd95ef8c21167343f4fdd017b53a6.tar.bz2 coreclr-e1a5d0fca2ccd95ef8c21167343f4fdd017b53a6.zip |
Eliminate GenTreeRegVar and GT_REG_VAR and RegVar (#18317)
Issue #18201 / Hackathon
Diffstat (limited to 'src/jit/morph.cpp')
-rw-r--r-- | src/jit/morph.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp index 164bf89507..03bd453e09 100644 --- a/src/jit/morph.cpp +++ b/src/jit/morph.cpp @@ -8541,8 +8541,7 @@ NO_TAIL_CALL: { structHnd = call->gtRetClsHnd; if (info.compCompHnd->isStructRequiringStackAllocRetBuf(structHnd) && - !((dest->OperGet() == GT_LCL_VAR || dest->OperGet() == GT_REG_VAR) && - dest->gtLclVar.gtLclNum == info.compRetBuffArg)) + !(dest->OperGet() == GT_LCL_VAR && dest->gtLclVar.gtLclNum == info.compRetBuffArg)) { origDest = dest; |