I added detach
This commit is contained in:
@ -64,6 +64,10 @@ char * temp = NULL;
|
|||||||
otherwise make it next of current and set cur to your instruction.
|
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){
|
TNodeOrConst * getOperand1(Instruction * i){
|
||||||
return i->operand1;
|
return i->operand1;
|
||||||
|
Reference in New Issue
Block a user