cgen: lots of fixes

This commit is contained in:
Alexander Medvednikov 2020-03-05 00:43:02 +01:00
parent b7e2af8151
commit 4161cfcdb8
9 changed files with 104 additions and 67 deletions

View file

@ -199,6 +199,7 @@ fn (v mut V) cc() {
}
if debug_mode {
a << debug_options
a << ' -ferror-limit=5000 '
}
if v.pref.is_prod {
a << optimization_options