Skip to content

Commit eb7b34d

Browse files
committed
AssertOrFailFast when there are symbols that cannot be restored when bailing in
1 parent 7e08c4a commit eb7b34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Backend/LinearScan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5143,7 +5143,7 @@ void LinearScan::GeneratorBailIn::BuildBailInSymbolList(
51435143
}
51445144
NEXT_BITSET_IN_SPARSEBV_EDITING;
51455145

5146-
AssertMsg(unrestorableSymbols.IsEmpty(), "There are unrestorable backend-only symbols across yield points");
5146+
AssertOrFailFastMsg(unrestorableSymbols.IsEmpty(), "There are unrestorable backend-only symbols across yield points");
51475147
}
51485148

51495149
void LinearScan::GeneratorBailIn::InsertRestoreSymbols(

0 commit comments

Comments
 (0)