Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit d90c382

Browse files
noahfalkKoundinya Veluri
authored andcommitted
Eliminate arm64 contract asserts (#19015)
Port of #19015 to 2.2 These methods don't trigger GC but were previously marked as if they did. Correcting the marking will eliminate spurious asserts.
1 parent db93fec commit d90c382

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/vm/arm64/cgencpu.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ struct StubPrecode {
578578
CONTRACTL
579579
{
580580
THROWS;
581-
GC_TRIGGERS;
581+
GC_NOTRIGGER;
582582
}
583583
CONTRACTL_END;
584584

@@ -591,7 +591,7 @@ struct StubPrecode {
591591
CONTRACTL
592592
{
593593
THROWS;
594-
GC_TRIGGERS;
594+
GC_NOTRIGGER;
595595
}
596596
CONTRACTL_END;
597597

@@ -704,7 +704,7 @@ struct FixupPrecode {
704704
CONTRACTL
705705
{
706706
THROWS;
707-
GC_TRIGGERS;
707+
GC_NOTRIGGER;
708708
}
709709
CONTRACTL_END;
710710

@@ -717,7 +717,7 @@ struct FixupPrecode {
717717
CONTRACTL
718718
{
719719
THROWS;
720-
GC_TRIGGERS;
720+
GC_NOTRIGGER;
721721
}
722722
CONTRACTL_END;
723723

@@ -778,7 +778,7 @@ struct ThisPtrRetBufPrecode {
778778
CONTRACTL
779779
{
780780
THROWS;
781-
GC_TRIGGERS;
781+
GC_NOTRIGGER;
782782
}
783783
CONTRACTL_END;
784784

0 commit comments

Comments
 (0)