I added detach
This commit is contained in:
1 parent
e092ea3926
commit
4cc1ece6ab
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user