summaryrefslogtreecommitdiff
path: root/src/vm/stubhelpers.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-07-12 09:44:15 +0200
committerGitHub <noreply@github.com>2016-07-12 09:44:15 +0200
commit3a89fdacae800110064aaf7aa0c72456b97dcd42 (patch)
tree53c275db4d683c440fb14558147171dfe6e60892 /src/vm/stubhelpers.cpp
parent0804d53c08804928e3b92e3c50b284453dab4944 (diff)
downloadcoreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.tar.gz
coreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.tar.bz2
coreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.zip
Fix exceptions in GC wave 2 (#6220)
I've removed blocks with PAL_TRY that were under CATCH_GC. I also had to fix contract problem in GCToEEInterface::GcStartWork that was marked as THROWS due to StubHelpers::ProcessByrefValidationList being marked as THROWS, but the StubHelpers::ProcessByrefValidationList in fact doesn't throw since it has body wrapped in EX_TRY / EX_CATCH. This also fixes a problem that started to appear after my previous exceptions fix change.
Diffstat (limited to 'src/vm/stubhelpers.cpp')
-rw-r--r--src/vm/stubhelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/stubhelpers.cpp b/src/vm/stubhelpers.cpp
index 673d96bfe6..bb2af8e052 100644
--- a/src/vm/stubhelpers.cpp
+++ b/src/vm/stubhelpers.cpp
@@ -143,7 +143,7 @@ void StubHelpers::ProcessByrefValidationList()
{
CONTRACTL
{
- THROWS;
+ NOTHROW;
GC_NOTRIGGER;
MODE_ANY;
}