WIP: precise GC

This commit is contained in:
Ayke van Laethem
2019-02-19 12:40:30 +01:00
parent 1b4d71bd3d
commit a1e69bbc13
7 changed files with 239 additions and 4 deletions
+4
View File
@@ -156,6 +156,10 @@ func (c *Compiler) selectGC() string {
return gc
}
func (c *Compiler) gcIsPrecise() bool {
return c.GC == "precise"
}
// Compile the given package path or .go file path. Return an error when this
// fails (in any stage).
func (c *Compiler) Compile(mainPath string) []error {