main: comment the TinyGo IR header line

Without this, clang tries to process the header line as part of
its valid input. eg:

  main.ll:1:1: error: expected top-level entity
  Generated LLVM IR:
  ^
Этот коммит содержится в:
Justin Clift 2019-05-09 18:54:11 +10:00 коммит произвёл Ayke van Laethem
родитель 019331e8af
коммит 1113f9ec0c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED

Просмотреть файл

@ -110,7 +110,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act
return &multiError{errs} return &multiError{errs}
} }
if config.printIR { if config.printIR {
fmt.Println("Generated LLVM IR:") fmt.Println("; Generated LLVM IR:")
fmt.Println(c.IR()) fmt.Println(c.IR())
} }
if err := c.Verify(); err != nil { if err := c.Verify(); err != nil {