class.c (make_method_value): Use null_pointer_node to represent empty exception table.
authorJeff Sturm <jsturm@one-point.com>
Tue, 11 Dec 2001 17:15:22 +0000 (17:15 +0000)
committerJeff Sturm <jsturm@gcc.gnu.org>
Tue, 11 Dec 2001 17:15:22 +0000 (17:15 +0000)
* class.c (make_method_value): Use null_pointer_node to
represent empty exception table.

From-SVN: r47880

gcc/java/ChangeLog
gcc/java/class.c

index 1f75d201bb3bcca8be77261b1d8f304b93f609e8..efec46096288442d794485eb12adf85bd836f611 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3d691bc9d583087638d540af8b07e0c6380a3866..f328806af6d14ec2dfc701d89ae5c6dab9ec39f6 100644 (file)
@@ -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));