From e10fe9d4bcc4f3f7e024e94ada9b3f858d4e025b Mon Sep 17 00:00:00 2001 From: tromey Date: Sat, 19 Feb 2005 01:14:17 +0000 Subject: PR java/20056: * verify-glue.c (vfy_class_has_field): New function. * verify.h (vfy_class_has_field): Declare. * verify-impl.c (check_field_constant): Added 'putfield' argument. (verify_instructions_0): Updated. (types_equal): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95258 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/verify.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/java/verify.h') diff --git a/gcc/java/verify.h b/gcc/java/verify.h index 3553d357960..b23a08a9888 100644 --- a/gcc/java/verify.h +++ b/gcc/java/verify.h @@ -1,5 +1,5 @@ /* Declarations to interface gcj with bytecode verifier. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. @@ -126,6 +126,8 @@ void vfy_note_stack_type (vfy_method *method, int pc, int slot, void vfy_note_local_type (vfy_method *method, int pc, int slot, vfy_jclass type); void vfy_note_instruction_seen (int pc); +bool vfy_class_has_field (vfy_jclass klass, vfy_string name, + vfy_string signature); #define GLOM(name, stuff) name ## stuff #define VFY_PRIMITIVE_CLASS(name) \ -- cgit v1.2.1