summaryrefslogtreecommitdiff
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 12:56:50 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 12:56:50 +0000
commit9ffea63575413465e83ed6b1b6cb598fd3f6bb1d (patch)
treee392e64fe289b63ddf536b0f00a069333922950b /libjava/interpret.cc
parentc6fc791ef7ea21de8705ce294a385eacf8dd885b (diff)
downloadgcc-9ffea63575413465e83ed6b1b6cb598fd3f6bb1d.tar.gz
2011-07-12 Andrew Haley <aph@redhat.com>
* interpret.cc (check_handler): Fix bit rot. (breakpoint_at): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r--libjava/interpret.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc
index 3f690d7b27c..ab28836293e 100644
--- a/libjava/interpret.cc
+++ b/libjava/interpret.cc
@@ -1474,7 +1474,7 @@ _Jv_InterpMethod::check_handler (pc_t *pc, _Jv_InterpMethod *meth,
if (exc[i].handler_type.i != 0)
handler
= (_Jv_Linker::resolve_pool_entry (meth->defining_class,
- ex$
+ exc[i].handler_type.i)).clazz;
#endif /* DIRECT_THREADED */
if (handler == NULL || handler->isAssignableFrom (exc_class))
{
@@ -1626,7 +1626,7 @@ _Jv_InterpMethod::breakpoint_at (jlong index)
return (insn->insn == breakpoint_insn->insn);
#else
pc_t code = reinterpret_cast<pc_t> (bytecode ());
- return (code[index] == breakpoint_insn);
+ return (code[index] == bp_insn_opcode);
#endif
}