For PR java/5794:
2002-09-03 Jesse Rosenstock <jmr@ugcs.caltech.edu> For PR java/5794: * verify.c (verify_jvm_instructions) [OPCODE_jsr]: Only push the return label if a ret instruction for the jsr has been reached. From-SVN: r57035
This commit is contained in:
parent
5b5198f72b
commit
23114b697a
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-09-03 Jesse Rosenstock <jmr@ugcs.caltech.edu>
|
||||
|
||||
For PR java/5794:
|
||||
* verify.c (verify_jvm_instructions) [OPCODE_jsr]: Only push the
|
||||
return label if a ret instruction for the jsr has been reached.
|
||||
|
||||
2002-09-09 Ranjit Mathew <rmathew@hotmail.com>
|
||||
|
||||
* parse.y (DIR_SEPARATOR): Don't define.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Handle verification of bytecoded methods for the GNU compiler for
|
||||
the Java(TM) language.
|
||||
Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
|
@ -1326,7 +1326,8 @@ verify_jvm_instructions (jcf, byte_ops, length)
|
|||
type_map[len] = TREE_VEC_ELT (return_map, len);
|
||||
}
|
||||
current_subr = LABEL_SUBR_CONTEXT (target);
|
||||
PUSH_PENDING (return_label);
|
||||
if (RETURN_MAP_ADJUSTED (return_map))
|
||||
PUSH_PENDING (return_label);
|
||||
}
|
||||
|
||||
INVALIDATE_PC;
|
||||
|
|
Loading…
Add table
Reference in a new issue