dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 for the common case.

* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
	for the common case.

From-SVN: r30554
This commit is contained in:
Jason Merrill 1999-11-17 17:29:36 +00:00 committed by Jason Merrill
parent fcd56b611d
commit 75e3fbdfe8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
for the common case.
1999-11-16 Jakub Jelinek <jakub@redhat.com>
* explow.c (hard_function_value): Add outgoing argument.

View File

@ -7550,7 +7550,7 @@ push_decl_scope (scope)
|| containing_scope == NULL_TREE
/* Ignore namespaces for the moment. */
|| TREE_CODE (containing_scope) == NAMESPACE_DECL)
decl_scope_table[decl_scope_depth].previous = -1;
decl_scope_table[decl_scope_depth].previous = decl_scope_depth - 1;
else
{
/* We need to search for the containing_scope. If we don't find it,