src/codegen.cpp: reassert that there are no generated errors in codegen;

Tracking Issue #1296 ;
Thanks @andrewrk ;
master
kristopher tate 2018-07-28 15:22:00 +09:00
parent 0ee6502562
commit db362bec18
1 changed files with 1 additions and 1 deletions

View File

@ -6014,7 +6014,7 @@ static void do_code_gen(CodeGen *g) {
}
//assert(!g->errors.length);
assert(!g->errors.length);
if (buf_len(&g->global_asm) != 0) {
LLVMSetModuleInlineAsm(g->module, buf_ptr(&g->global_asm));