Refactoring access + some macro renaming.

This commit is contained in:
Christoffer Lerno
2025-01-20 02:44:39 +01:00
parent f9b86226a8
commit bb2a2526e4
75 changed files with 1129 additions and 1124 deletions

View File

@@ -57,7 +57,7 @@ static void llvm_set_module_flag(GenContext *c, LLVMModuleFlagBehavior flag_beha
void gencontext_begin_module(GenContext *c)
{
ASSERT0(!c->module && "Expected no module");
ASSERT(!c->module && "Expected no module");
codegen_setup_object_names(c->code_module, &c->ir_filename, &c->asm_filename, &c->object_filename);
DEBUG_LOG("Emit module %s.", c->code_module->name->module);