main: enable -initinterp by default
It can still be disabled using -initinterp=false.
Этот коммит содержится в:
родитель
1ba463c7ee
коммит
c3c4a33b42
2 изменённых файлов: 2 добавлений и 2 удалений
2
main.go
2
main.go
|
@ -438,7 +438,7 @@ func main() {
|
||||||
printSize := flag.String("size", "", "print sizes (none, short, full)")
|
printSize := flag.String("size", "", "print sizes (none, short, full)")
|
||||||
nodebug := flag.Bool("no-debug", false, "disable DWARF debug symbol generation")
|
nodebug := flag.Bool("no-debug", false, "disable DWARF debug symbol generation")
|
||||||
ocdOutput := flag.Bool("ocd-output", false, "print OCD daemon output during debug")
|
ocdOutput := flag.Bool("ocd-output", false, "print OCD daemon output during debug")
|
||||||
initInterp := flag.Bool("initinterp", false, "enable experimental partial evaluator of generated IR")
|
initInterp := flag.Bool("initinterp", true, "enable/disable partial evaluator of generated IR")
|
||||||
port := flag.String("port", "/dev/ttyACM0", "flash port")
|
port := flag.String("port", "/dev/ttyACM0", "flash port")
|
||||||
|
|
||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 {
|
||||||
|
|
|
@ -65,7 +65,7 @@ func runTest(path, tmpdir string, target string, t *testing.T) {
|
||||||
dumpSSA: false,
|
dumpSSA: false,
|
||||||
debug: false,
|
debug: false,
|
||||||
printSizes: "",
|
printSizes: "",
|
||||||
initInterp: false,
|
initInterp: true,
|
||||||
}
|
}
|
||||||
binary := filepath.Join(tmpdir, "test")
|
binary := filepath.Join(tmpdir, "test")
|
||||||
err = Build(path, binary, target, config)
|
err = Build(path, binary, target, config)
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче