Move coroutine passes from Makefile to compiler itself

This is much more convenient.
This commit is contained in:
Ayke van Laethem
2018-08-20 04:31:01 +02:00
parent 03c8a8bd3a
commit d9ca5f97fb
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func Compile(pkgName, runtimePath, outpath, target string, printIR, dumpSSA bool
if err := c.Verify(); err != nil {
return err
}
//c.Optimize(2, 1) // -O2 -Os
c.Optimize(2, 1) // -O2 -Os
if err := c.Verify(); err != nil {
return err
}