Commit a3bcfa67 by Jeff Sturm Committed by Jeff Sturm

class.c (make_method_value): Use null_pointer_node to represent empty exception table.

	* class.c (make_method_value): Use null_pointer_node to
	represent empty exception table.

From-SVN: r47880
parent 6fe4816f
2001-12-11 Jeff Sturm <jsturm@one-point.com>
* class.c (make_method_value): Use null_pointer_node to
represent empty exception table.
2001-12-10 Tom Tromey <tromey@redhat.com>
* check-init.c (check_init) [SWITCH_EXPR]: Use SWITCH_HAS_DEFAULT.
......
......@@ -1293,7 +1293,7 @@ make_method_value (mdecl)
{
/* Compute the `throws' information for the method. */
tree table = integer_zero_node;
tree table = null_pointer_node;
if (DECL_FUNCTION_THROWS (mdecl) != NULL_TREE)
{
int length = 1 + list_length (DECL_FUNCTION_THROWS (mdecl));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment