Revision b9d38e95 target-sh4/op_helper.c

b/target-sh4/op_helper.c
145 145
	memory_content *next = current->next;
146 146
	free (current);
147 147
	env->movcal_backup = current = next;
148
	if (current == 0)
148
	if (current == NULL)
149 149
	    env->movcal_backup_tail = &(env->movcal_backup);
150 150
    } 
151 151
}
......
161 161
	    memory_content *next = (*current)->next;
162 162
	    stl(a, (*current)->value);
163 163
	    
164
	    if (next == 0)
164
	    if (next == NULL)
165 165
	    {
166 166
		env->movcal_backup_tail = current;
167 167
	    }

Also available in: Unified diff