Skip to content

Commit 6a0de34

Browse files
committed
ircode: cleanup code crud
- support gc running - don't duplicate field 4 - remove some unused code only previously needed for handling cycles (which are not valid in IR)
1 parent d32843b commit 6a0de34

File tree

3 files changed

+263
-208
lines changed

3 files changed

+263
-208
lines changed

src/clangsa/GCChecker.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,8 @@ bool GCChecker::isGCTrackedType(QualType QT) {
847847
Name.ends_with_insensitive("jl_vararg_t") ||
848848
Name.ends_with_insensitive("jl_opaque_closure_t") ||
849849
Name.ends_with_insensitive("jl_globalref_t") ||
850-
// Probably not technically true for these, but let's allow it
850+
// Probably not technically true for these, but let's allow it as a root
851+
Name.ends_with_insensitive("jl_ircode_state") ||
851852
Name.ends_with_insensitive("typemap_intersection_env") ||
852853
Name.ends_with_insensitive("interpreter_state") ||
853854
Name.ends_with_insensitive("jl_typeenv_t") ||

0 commit comments

Comments
 (0)