From 22e8617b22bcfc266823ac39eb24ade40c10f5b1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 29 Apr 2005 20:27:58 +0000 Subject: tree.c (build_block): Removed unused 'tags' argument. gcc: * tree.c (build_block): Removed unused 'tags' argument. * tree.h (build_block): Removed argument. gcc/java: * expr.c (build_jni_stub): Updated for change to build_block. gcc/treelang: * treetree.c (poplevel): Updated for change to build_block. gcc/fortran: * f95-lang.c (poplevel): Updated for change to build_block. From-SVN: r99019 --- gcc/java/ChangeLog | 4 ++++ gcc/java/expr.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 52a0777..d1776c5 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2005-04-29 Tom Tromey + + * expr.c (build_jni_stub): Updated for change to build_block. + 2005-04-29 Andrew Pinski * expr.c (force_evaluation_order): Declare 'saved' earlier. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index e61cd12..3a4002b 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -2513,8 +2513,7 @@ build_jni_stub (tree method) method_args = DECL_ARGUMENTS (method); else method_args = BLOCK_EXPR_DECLS (DECL_FUNCTION_BODY (method)); - block = build_block (env_var, NULL_TREE, NULL_TREE, - method_args, NULL_TREE); + block = build_block (env_var, NULL_TREE, method_args, NULL_TREE); TREE_SIDE_EFFECTS (block) = 1; /* When compiling from source we don't set the type of the block, because that will prevent patch_return from ever being run. */ -- cgit v1.1