src/codegen.cpp: reassert that there are no generated errors in codegen;
Tracking Issue #1296 ; Thanks @andrewrk ;master
parent
0ee6502562
commit
db362bec18
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue