2009-08-28 Hui Zhu <teawater@gmail.com>

* record.c (record_list_release_next): Change the first
	record_reg to record_end.
This commit is contained in:
Hui Zhu 2009-08-28 02:10:18 +00:00
parent 34e39bb73e
commit 12b1a97932
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-28 Hui Zhu <teawater@gmail.com>
* record.c (record_list_release_next): Change the first
record_reg to record_end.
2009-08-27 Doug Evans <dje@google.com> 2009-08-27 Doug Evans <dje@google.com>
* value.c (free_all_values): Tweak comment. * value.c (free_all_values): Tweak comment.

View File

@ -157,7 +157,7 @@ record_list_release_next (void)
while (tmp) while (tmp)
{ {
rec = tmp->next; rec = tmp->next;
if (tmp->type == record_reg) if (tmp->type == record_end)
record_insn_num--; record_insn_num--;
else if (tmp->type == record_reg) else if (tmp->type == record_reg)
xfree (tmp->u.reg.val); xfree (tmp->u.reg.val);