mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
src/codegen.cpp: reassert that there are no generated errors in codegen;
Tracking Issue #1296 ; Thanks @andrewrk ;
This commit is contained in:
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…
x
Reference in New Issue
Block a user