diff options
Diffstat (limited to 'src/jit/codegenxarch.cpp')
-rw-r--r-- | src/jit/codegenxarch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/codegenxarch.cpp b/src/jit/codegenxarch.cpp index cf9055c31d..5c4d7bd9cb 100644 --- a/src/jit/codegenxarch.cpp +++ b/src/jit/codegenxarch.cpp @@ -5713,7 +5713,7 @@ void CodeGen::genCallInstruction(GenTreeCall* call) // If there is nothing next, that means the result is thrown away, so this value is not live. // However, for minopts or debuggable code, we keep it live to support managed return value debugging. - if ((call->gtNext == nullptr) && !compiler->opts.MinOpts() && !compiler->opts.compDbgCode) + if ((call->gtNext == nullptr) && compiler->opts.OptimizationEnabled()) { gcInfo.gcMarkRegSetNpt(RBM_INTRET); } |