We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2046432 commit 1b45b83Copy full SHA for 1b45b83
src/coreclr/jit/codegenlinear.cpp
@@ -756,7 +756,7 @@ void CodeGen::genCodeForBBlist()
756
// AMD64 requires an instruction after a call instruction for unwinding
757
// inside an EH region so if the last instruction generated was a call instruction
758
// do not allow this jump to be marked for possible later removal.
759
- isRemovableJmpCandidate = isRemovableJmpCandidate && !GetEmitter()->emitIsLastInsCall();
+ isRemovableJmpCandidate = isRemovableJmpCandidate && !emitNop;
760
#endif // TARGET_AMD64
761
762
inst_JMP(EJ_jmp, block->GetJumpDest(), isRemovableJmpCandidate);
0 commit comments