I added detach

This commit is contained in:
Meyer Simon
2025-04-29 23:18:01 -04:00
parent e092ea3926
commit 4cc1ece6ab

View File

@ -64,6 +64,10 @@ char * temp = NULL;
otherwise make it next of current and set cur to your instruction.
*/
void emit_detach(){
current = current->prev;
current->next = NULL;
}
TNodeOrConst * getOperand1(Instruction * i){
return i->operand1;