diff options
author | Tom Tromey <tromey@redhat.com> | 2006-05-26 15:41:46 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-05-26 15:41:46 +0000 |
commit | 153d08d59b0aba73ff4f8a525138ff7a38f0b517 (patch) | |
tree | 88690a510261c7f1c3fc40c4ca51027140d15d66 /gcc/java/verify-glue.c | |
parent | 7541c31ba2afb0b9e5c7893117d8f63a1a7b0e41 (diff) | |
download | gcc-153d08d59b0aba73ff4f8a525138ff7a38f0b517.zip gcc-153d08d59b0aba73ff4f8a525138ff7a38f0b517.tar.gz gcc-153d08d59b0aba73ff4f8a525138ff7a38f0b517.tar.bz2 |
expr.c (java_push_constant_from_pool): Handle 'ldc class'.
* expr.c (java_push_constant_from_pool): Handle 'ldc class'.
* verify-glue.c (vfy_class_type): New function.
* verify-impl.c (check_constant): Allow 'ldc class'.
* verify.h (vfy_class_type): Declare.
From-SVN: r114135
Diffstat (limited to 'gcc/java/verify-glue.c')
-rw-r--r-- | gcc/java/verify-glue.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/java/verify-glue.c b/gcc/java/verify-glue.c index 737a19b..23fcaba 100644 --- a/gcc/java/verify-glue.c +++ b/gcc/java/verify-glue.c @@ -1,5 +1,5 @@ /* Glue to interface gcj with bytecode verifier. - Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -329,6 +329,12 @@ vfy_object_type (void) } vfy_jclass +vfy_class_type (void) +{ + return class_type_node; +} + +vfy_jclass vfy_string_type (void) { vfy_jclass k; |