Skip to content

Commit

Permalink
ircode: cleanup code crud
Browse files Browse the repository at this point in the history
 - support gc running
 - don't duplicate field 4
 - remove some unused code only previously needed for handling cycles
   (which are not valid in IR)
  • Loading branch information
vtjnash committed Nov 30, 2024
1 parent d32843b commit d113cfe
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 207 deletions.
3 changes: 2 additions & 1 deletion src/clangsa/GCChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,8 @@ bool GCChecker::isGCTrackedType(QualType QT) {
Name.ends_with_insensitive("jl_vararg_t") ||
Name.ends_with_insensitive("jl_opaque_closure_t") ||
Name.ends_with_insensitive("jl_globalref_t") ||
// Probably not technically true for these, but let's allow it
// Probably not technically true for these, but let's allow it as a root
Name.ends_with_insensitive("jl_ircode_state") ||
Name.ends_with_insensitive("typemap_intersection_env") ||
Name.ends_with_insensitive("interpreter_state") ||
Name.ends_with_insensitive("jl_typeenv_t") ||
Expand Down
Loading

0 comments on commit d113cfe

Please sign in to comment.