Demo file choice

This commit is contained in:
Meyer Simon
2025-04-30 09:36:05 -04:00
parent 856e443181
commit 5b3de8cb02
3 changed files with 52 additions and 47 deletions

View File

@ -129,6 +129,10 @@ TNodeOrConst * tn_or_const(Discriminant d, void * tnc) {
}
static void emit_helper(void){
if (!ir_flag) {
begin = NULL;
return;
}
Instruction * inst = calloc(1, sizeof(*inst));
if(begin == NULL){
begin = current = inst;