Eliminate arm64 contract asserts (dotnet/coreclr#19015)
authorNoah Falk <noahfalk@users.noreply.github.com>
Thu, 19 Jul 2018 07:28:31 +0000 (00:28 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 19 Jul 2018 07:28:31 +0000 (00:28 -0700)
These methods don't trigger GC but were previously marked as if they did. Correcting the marking will eliminate spurious asserts.

Commit migrated from https://github.com/dotnet/coreclr/commit/586bae99632880e9fa635a10d42002c82c72022e

src/coreclr/src/vm/arm64/cgencpu.h

index 7e3d620..6edf704 100644 (file)
@@ -578,7 +578,7 @@ struct StubPrecode {
         CONTRACTL
         {
             THROWS;
-            GC_TRIGGERS;
+            GC_NOTRIGGER;
         }
         CONTRACTL_END;
 
@@ -591,7 +591,7 @@ struct StubPrecode {
         CONTRACTL
         {
             THROWS;
-            GC_TRIGGERS;
+            GC_NOTRIGGER;
         }
         CONTRACTL_END;
 
@@ -704,7 +704,7 @@ struct FixupPrecode {
         CONTRACTL
         {
             THROWS;
-            GC_TRIGGERS;
+            GC_NOTRIGGER;
         }
         CONTRACTL_END;
 
@@ -717,7 +717,7 @@ struct FixupPrecode {
         CONTRACTL
         {
             THROWS;
-            GC_TRIGGERS;
+            GC_NOTRIGGER;
         }
         CONTRACTL_END;
 
@@ -778,7 +778,7 @@ struct ThisPtrRetBufPrecode {
         CONTRACTL
         {
             THROWS;
-            GC_TRIGGERS;
+            GC_NOTRIGGER;
         }
         CONTRACTL_END;