Fix vs2019 optimization issue take 2 (dotnet/coreclr#27452)
authorJan Vorlicek <janvorli@microsoft.com>
Sat, 26 Oct 2019 22:47:06 +0000 (15:47 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sat, 26 Oct 2019 22:47:06 +0000 (15:47 -0700)
commite14b71e0c889fe4bbc152a22a29f17cc8826d1c3
tree71d90bdf35bc850e16b47fd6ace5043b011ec9e8
parente2c6b785d30b8916413562b6e38d17b6047bba6f
Fix vs2019 optimization issue take 2 (dotnet/coreclr#27452)

* Revert "Fix the problem with the VS2019 fix on x86 (dotnet/coreclr#26957)"

This reverts commit dotnet/coreclr@4081d86f221e6694f0dfd13b99e0d5b1045d2e89.

* Revert "Fix issue with locals overlapping out of scope GCFrame (dotnet/coreclr#26763)"

This reverts commit dotnet/coreclr@6059e75e13593b0820e178f8baaace32c09aca6e.

* Fix VS2019 optimization issue take 2

* Stop using FrameWithCookie for GCFrame
* Removed call to SetHasPromotedBytes, the function, the field on
thread and its getter / setter as it is not used for anything.
* Updated ifdefs on GetGCFrame and GetFrame

Commit migrated from https://github.com/dotnet/coreclr/commit/d815d217f1930c4443834db41f172474953ede9b
15 files changed:
src/coreclr/src/inc/vptr_list.h
src/coreclr/src/strongname/api/common.h
src/coreclr/src/vm/common.h
src/coreclr/src/vm/exceptionhandling.cpp
src/coreclr/src/vm/exceptionhandling.h
src/coreclr/src/vm/exstate.cpp
src/coreclr/src/vm/exstate.h
src/coreclr/src/vm/frames.cpp
src/coreclr/src/vm/frames.h
src/coreclr/src/vm/gccover.cpp
src/coreclr/src/vm/gcenv.ee.cpp
src/coreclr/src/vm/i386/excepx86.cpp
src/coreclr/src/vm/olevariant.cpp
src/coreclr/src/vm/threads.cpp
src/coreclr/src/vm/threads.h