diff --git a/src/intermediate_code.c b/src/intermediate_code.c index a0bfa9d..aee5862 100644 --- a/src/intermediate_code.c +++ b/src/intermediate_code.c @@ -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;