Eliminate arm64 contract asserts (#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.

src/vm/arm64/cgencpu.h

index 7e3d62056a73f16d100ac8257a67cb88054c5d6c..6edf704b8f24f95f2045e2c6f5c2d2192ec48e5d 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;