diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-11-30 21:52:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 21:52:35 -0800 |
commit | 746d0330e19a764c4d23160e56e8a281335b8e56 (patch) | |
tree | 01f738aa53e800abf6dc6ebd80d1afc7a1be3f48 /src/jit/lclvars.cpp | |
parent | 4e17522078fd30bcc4e83a43c03a673a1f98eee1 (diff) | |
download | coreclr-746d0330e19a764c4d23160e56e8a281335b8e56.tar.gz coreclr-746d0330e19a764c4d23160e56e8a281335b8e56.tar.bz2 coreclr-746d0330e19a764c4d23160e56e8a281335b8e56.zip |
Skip emitting duplicate clauses for CoreRT (#8400)
Fixes https://github.com/dotnet/corert/issues/2262
Diffstat (limited to 'src/jit/lclvars.cpp')
-rw-r--r-- | src/jit/lclvars.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jit/lclvars.cpp b/src/jit/lclvars.cpp index f405b66695..79e1f630ce 100644 --- a/src/jit/lclvars.cpp +++ b/src/jit/lclvars.cpp @@ -3388,10 +3388,8 @@ void Compiler::lvaMarkLocalVars() #endif // !FEATURE_EH_FUNCLETS -#if COR_JIT_EE_VERSION > 460 // PSPSym and LocAllocSPvar are not used by the CoreRT ABI - if (eeGetEEInfo()->targetAbi != CORINFO_CORERT_ABI) -#endif + if (!IsTargetAbi(CORINFO_CORERT_ABI)) { #if FEATURE_EH_FUNCLETS if (ehNeedsPSPSym()) |