mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 12:33:42 +00:00
all: rename garbage collectors
dumb -> leaking: make it more clear what this "GC" does: leak everything. marksweep -> conservative: "marksweep" is too generic, use "conservative" to differentiate between future garbage collectors: precise marksweep / mark-compact / refcounting.
This commit is contained in:
@@ -169,7 +169,7 @@ func (c *Compiler) TargetData() llvm.TargetData {
|
||||
func (c *Compiler) selectGC() string {
|
||||
gc := c.GC
|
||||
if gc == "" {
|
||||
gc = "dumb"
|
||||
gc = "leaking"
|
||||
}
|
||||
return gc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user