Skip to content

Commit 6dc3f4e

Browse files
committed
Simplify GC fixallcollectable() logic and move to a separate file
This also removes a lot of the nasty special-cases we used to have to maintain, and moves things to a proper depth-first graph traversal that can handle reference cycles. My god, it's all graphs.
1 parent f629edc commit 6dc3f4e

6 files changed

Lines changed: 435 additions & 413 deletions

File tree

Sources.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ target_sources(Luau.VM PRIVATE
368368
VM/src/lfunc.cpp
369369
VM/src/lgc.cpp
370370
VM/src/lgcdebug.cpp
371+
VM/src/lgcfix.cpp
371372
VM/src/lgcgraph.cpp
372373
VM/src/lgctraverse.cpp
373374
VM/src/linit.cpp

0 commit comments

Comments
 (0)