aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 1ce2ad3..ab8c2ae 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1820,8 +1820,7 @@ java_expand_body (tree fndecl)
current_function_decl = fndecl;
input_location = DECL_SOURCE_LOCATION (fndecl);
- output_class = DECL_CONTEXT (current_function_decl);
- current_class = DECL_CONTEXT (fndecl);
+ output_class = current_class = DECL_CONTEXT (fndecl);
timevar_push (TV_EXPAND);