mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 23:50:36 +08:00
verify.cc (state::clean_subrs): Clear seen_subrs.
* verify.cc (state::clean_subrs): Clear seen_subrs. (state::copy): Walk seen_subrs from copy, not `this'. Don't clear seen_subrs. From-SVN: r74152
This commit is contained in:
parent
6b98580b89
commit
c353d6a488
@ -1,3 +1,9 @@
|
|||||||
|
2003-12-01 Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
|
* verify.cc (state::clean_subrs): Clear seen_subrs.
|
||||||
|
(state::copy): Walk seen_subrs from copy, not `this'.
|
||||||
|
Don't clear seen_subrs.
|
||||||
|
|
||||||
2003-12-01 Kim Ho <kho@redhat.com>
|
2003-12-01 Kim Ho <kho@redhat.com>
|
||||||
|
|
||||||
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
|
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
|
||||||
|
@ -1010,6 +1010,7 @@ private:
|
|||||||
_Jv_Free (info);
|
_Jv_Free (info);
|
||||||
info = next;
|
info = next;
|
||||||
}
|
}
|
||||||
|
seen_subrs = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void copy (const state *copy, int max_stack, int max_locals,
|
void copy (const state *copy, int max_stack, int max_locals,
|
||||||
@ -1035,11 +1036,10 @@ private:
|
|||||||
clean_subrs ();
|
clean_subrs ();
|
||||||
if (copy->seen_subrs)
|
if (copy->seen_subrs)
|
||||||
{
|
{
|
||||||
for (subr_info *info = seen_subrs; info != NULL; info = info->next)
|
for (subr_info *info = copy->seen_subrs;
|
||||||
|
info != NULL; info = info->next)
|
||||||
add_subr (info->pc);
|
add_subr (info->pc);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
seen_subrs = NULL;
|
|
||||||
|
|
||||||
this_type = copy->this_type;
|
this_type = copy->this_type;
|
||||||
// Don't modify `next'.
|
// Don't modify `next'.
|
||||||
|
Loading…
Reference in New Issue
Block a user