mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Major type check rewrite. Fixed params to be writable. Conditionals work. Lots of assign operators fixed. Struct access works.
This commit is contained in:
@@ -117,6 +117,7 @@ void gencontext_emit_function_body(GenContext *context, Decl *decl)
|
||||
|
||||
gencontext_emit_compound_stmt(context, decl->func.body);
|
||||
|
||||
|
||||
if (!LLVMGetFirstInstruction(context->current_block) && !LLVMGetFirstUse(LLVMBasicBlockAsValue(context->current_block)))
|
||||
{
|
||||
LLVMBasicBlockRef prev_block = LLVMGetPreviousBasicBlock(context->current_block);
|
||||
|
||||
Reference in New Issue
Block a user