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
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// java-insns.h - Instruction encodings. This is -*- c++ -*-
|
||||
|
||||
/* Copyright (C) 1999, 2001, 2002 Free Software Foundation
|
||||
/* Copyright (C) 1999, 2001, 2002, 2006 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@@ -199,9 +199,7 @@ enum java_opcode
|
||||
op_invokespecial = 0xb7,
|
||||
op_invokestatic = 0xb8,
|
||||
op_invokeinterface = 0xb9,
|
||||
|
||||
// 0xba is unused.
|
||||
|
||||
op_breakpoint = 0xba,
|
||||
op_new = 0xbb,
|
||||
op_newarray = 0xbc,
|
||||
op_anewarray = 0xbd,
|
||||
|
||||
Reference in New Issue
Block a user