summaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index ec94a3c9534..804c239fcfa 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1047,6 +1047,15 @@ cache_this_class_ref (tree fndecl)
}
}
+/* Remove the reference to the local variable that holds the current
+ class$. */
+
+void
+uncache_this_class_ref (tree fndecl ATTRIBUTE_UNUSED)
+{
+ this_classdollar = build_classdollar_field (output_class);
+}
+
/* Build a reference to the class TYPE.
Also handles primitive types and array types. */