Added some of the implementation but not complete #t51

This commit is contained in:
Meyer Simon
2025-04-04 18:06:01 -04:00
parent f7d1d90856
commit 58b50ccb63
2 changed files with 5 additions and 1 deletions

View File

@ -100,6 +100,8 @@ void emit_function_call(char* result, char* name){
}
void emit_return(char* value){
emit_helper();
current->opcode = RETURN;
current->operand1 = look_up(cur, name);
return;
}
void emit_reserve(char* result, char* type_name, int size){