interpret.cc (check_handler): Fix bit rot.

2011-07-12  Andrew Haley  <aph@redhat.com>

        * interpret.cc (check_handler): Fix bit rot.
        (breakpoint_at): Likewise.

From-SVN: r176200
This commit is contained in:
Andrew Haley 2011-07-12 12:56:50 +00:00 committed by Andrew Haley
parent 2558c6054e
commit b46a23dd68
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-07-12 Andrew Haley <aph@redhat.com>
* interpret.cc (check_handler): Fix bit rot.
(breakpoint_at): Likewise.
2011-07-12 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (finalize): Make sure that the class

View File

@ -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
}