diff options
author | Andrew Haley <aph@redhat.com> | 2007-02-07 18:28:20 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2007-02-07 18:28:20 +0000 |
commit | 56c9f04bb7bfff97a61286bcb792e1ed8c66d50f (patch) | |
tree | 1afcda01214ff45731eb75ffc792a20cf75aa0c2 /gcc/java/class.c | |
parent | 08452f45531ca2ec479e61b9f7e37d3fadd95a7b (diff) | |
download | gcc-56c9f04bb7bfff97a61286bcb792e1ed8c66d50f.zip gcc-56c9f04bb7bfff97a61286bcb792e1ed8c66d50f.tar.gz gcc-56c9f04bb7bfff97a61286bcb792e1ed8c66d50f.tar.bz2 |
class.c (uncache_this_class_ref): New.
2007-02-07 Andrew Haley <aph@redhat.com>
* class.c (uncache_this_class_ref): New.
* expr.c (build_jni_stub): Initialize the class.
(expand_byte_code): Call uncache_this_class_ref after generating
code.
From-SVN: r121695
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index ec94a3c..804c239 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. */ |