summaryrefslogtreecommitdiff
path: root/gcc/java/verify.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-19 01:14:17 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-19 01:14:17 +0000
commite10fe9d4bcc4f3f7e024e94ada9b3f858d4e025b (patch)
tree70744c5a070902162b614e77d6868d603b6be97f /gcc/java/verify.h
parentfbf428be41032894556480fd1b944c88bd02181c (diff)
downloadgcc-e10fe9d4bcc4f3f7e024e94ada9b3f858d4e025b.tar.gz
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
Diffstat (limited to 'gcc/java/verify.h')
-rw-r--r--gcc/java/verify.h4
1 files changed, 3 insertions, 1 deletions
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) \