From: Andrey Kvochko Date: Thu, 24 Jan 2019 16:09:34 +0000 (+0300) Subject: Disable PSPSym in filter prolog for CoreRT (#22184) X-Git-Tag: accepted/tizen/unified/20190813.215958~244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=786d2e06023ee1dc96ed9cc062135b3e0aad4137;p=platform%2Fupstream%2Fcoreclr.git Disable PSPSym in filter prolog for CoreRT (#22184) --- diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp index 6c32fc6..b96054a 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