def free_if_register(self, index):
if (index < <NUM_LIT:0>) or (index > SharedData.FUNCTION_REGISTER):<EOL><INDENT>return<EOL><DEDENT>else:<EOL><INDENT>self.free_register(index)<EOL><DEDENT>
If index is a working register, free it, otherwise just return (helper function)