just comments

This commit is contained in:
Annie
2025-05-03 13:13:22 -04:00
parent a40b210b05
commit 1546ea1785
2 changed files with 4 additions and 2 deletions

BIN
a.out

Binary file not shown.

View File

@ -680,10 +680,12 @@ int generateFunctionStart(Instruction *inst) {
printdebug("generateFunctionStart failed, NULL tablenode");
return -1;
}
//this is independent of parameters:
fprintf(cg_flag, "%s:\n", getName(getTN(op1)));
fprintf(cg_flag, "\tpushq\t%%rbp\n");
fprintf(cg_flag, "\tmovq\t%%rsp, %%rbp\n");
//now we need to add the CGs of nodes to the CG list by doing assign from the
return 0;
}