Revert "Move coroutine passes from Makefile to compiler itself"

This reverts commit d9ca5f97fb.

There is a problem with coroutines that I haven't solved yet. Reverting
makes it work, for now.

Also, use a better coroutines flag for the LLVM opt tool.
This commit is contained in:
Ayke van Laethem
2018-08-20 20:17:51 +02:00
parent df4ee6e733
commit a30ffa5c1e
3 changed files with 5 additions and 9 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
}