def restore_used_registers(self):
used = self.used_registers_stack.pop()<EOL>self.used_registers = used[:]<EOL>used.sort(reverse = True)<EOL>for reg in used:<EOL><INDENT>self.newline_text("<STR_LIT>" % SharedData.REGISTERS[reg], True)<EOL>self.free_registers.remove(reg)<EOL><DEDENT>
Pops all used working registers after function call