diff options
author | Andrey Kvochko <kvochko@users.noreply.github.com> | 2019-01-24 19:09:34 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-24 08:09:34 -0800 |
commit | 786d2e06023ee1dc96ed9cc062135b3e0aad4137 (patch) | |
tree | 489a984e4db9e056ee745b49c82d5b715d47044d | |
parent | 29d442f6f3aceba3629a216089c9262d3b047613 (diff) | |
download | coreclr-786d2e06023ee1dc96ed9cc062135b3e0aad4137.tar.gz coreclr-786d2e06023ee1dc96ed9cc062135b3e0aad4137.tar.bz2 coreclr-786d2e06023ee1dc96ed9cc062135b3e0aad4137.zip |
Disable PSPSym in filter prolog for CoreRT (#22184)
-rw-r--r-- | src/jit/codegencommon.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp index 6c32fc6b10..b96054aa2e 100644 --- a/src/jit/codegencommon.cpp +++ b/src/jit/codegencommon.cpp @@ -8940,6 +8940,12 @@ void CodeGen::genFuncletProlog(BasicBlock* block) // This is the end of the OS-reported prolog for purposes of unwinding compiler->unwindEndProlog(); + // If there is no PSPSym (CoreRT ABI), we are done. + if (compiler->lvaPSPSym == BAD_VAR_NUM) + { + return; + } + if (isFilter) { // This is the first block of a filter |