From 7bf12cae9525190d57cdcda2de0a9c4d2e0de0a7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 13 Jun 2024 23:05:35 +0100 Subject: Update tilde --- src/tilde_proc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tilde_proc.cpp') diff --git a/src/tilde_proc.cpp b/src/tilde_proc.cpp index 542ed794e..e0a2c5d71 100644 --- a/src/tilde_proc.cpp +++ b/src/tilde_proc.cpp @@ -1,5 +1,5 @@ #ifndef TILDE_DO_CODEGEN -#define TILDE_DO_CODEGEN 0 +#define TILDE_DO_CODEGEN 1 #endif gb_internal TB_FunctionPrototype *cg_procedure_type_as_prototype(cgModule *m, Type *type) { @@ -388,9 +388,11 @@ gb_internal WORKER_TASK_PROC(cg_procedure_compile_worker_proc) { } #if TILDE_DO_CODEGEN + // gb_printf_err("[START] %.*s\n", LIT(p->name)); bool emit_asm = false; TB_FunctionOutput *output = tb_codegen(p->func, cg_worklist(), cg_arena(), &feature_set, emit_asm); gb_unused(output); + // gb_printf_err("[END] %.*s\n", LIT(p->name)); #endif // tb_print(p->func, cg_arena()); -- cgit v1.2.3