aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorJeff Sturm <jsturm@one-point.com>2001-12-11 17:15:22 +0000
committerJeff Sturm <jsturm@gcc.gnu.org>2001-12-11 17:15:22 +0000
commita3bcfa679bd4602b817c356b96005263f2ad00f4 (patch)
treeab764c8796017bc2fb33d3e67e906d6a8f45b1cf /gcc/java/class.c
parent6fe4816fdbdd340a102881e80988198a3c84a9f4 (diff)
downloadgcc-a3bcfa679bd4602b817c356b96005263f2ad00f4.zip
gcc-a3bcfa679bd4602b817c356b96005263f2ad00f4.tar.gz
gcc-a3bcfa679bd4602b817c356b96005263f2ad00f4.tar.bz2
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
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 3d691bc..f328806 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -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));