aboutsummaryrefslogtreecommitdiff
path: root/libjava/verify.cc
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2006-10-14 20:11:12 +0000
committerKeith Seitz <kseitz@gcc.gnu.org>2006-10-14 20:11:12 +0000
commit0f546316f4ce2d2d224981b532d45a20332f0ed1 (patch)
treee1e9bbc74493dff5ebbd6ee844018c6a7cb62049 /libjava/verify.cc
parent1526c4b5b64e0271567425e10e3abeedfa088fe3 (diff)
downloadgcc-0f546316f4ce2d2d224981b532d45a20332f0ed1.zip
gcc-0f546316f4ce2d2d224981b532d45a20332f0ed1.tar.gz
gcc-0f546316f4ce2d2d224981b532d45a20332f0ed1.tar.bz2
java-insns.h (enum java_code): Add op_breakpoint.
* include/java-insns.h (enum java_code): Add op_breakpoint. * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn. [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot. [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode. (install_break): Declare. * interpret.cc (breakpoint_insn): Define breakpoint insn. (compile): Add op_breakpoint to "can't happen" cases. [INTERPRETER] Initialize breakpoint insn if necessary. (install_break): New method. * interpret-run.cc: Add op_breakpoint to insn_targets. Add insn_breakpoint label. * verify.cc (branch_prepass): Add op_breakpoint to unrecognized opcodes section of switch statement. (verify_instructions_0): Likewise. From-SVN: r117734
Diffstat (limited to 'libjava/verify.cc')
-rw-r--r--libjava/verify.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/verify.cc b/libjava/verify.cc
index 90890a6..b002c1c 100644
--- a/libjava/verify.cc
+++ b/libjava/verify.cc
@@ -1,6 +1,6 @@
// verify.cc - verify bytecode
-/* Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
+/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
This file is part of libgcj.
@@ -1976,6 +1976,7 @@ private:
case op_getstatic_4:
case op_getstatic_8:
case op_getstatic_a:
+ case op_breakpoint:
default:
verify_fail ("unrecognized instruction in branch_prepass",
start_PC);
@@ -3153,6 +3154,7 @@ private:
case op_getstatic_4:
case op_getstatic_8:
case op_getstatic_a:
+ case op_breakpoint:
default:
// Unrecognized opcode.
verify_fail ("unrecognized instruction in verify_instructions_0",