jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.

2007-02-07  Kyle Galloway  <kgallowa@redhat.com>

    * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
    (_Jv_JVMTI_GetMaxLocals): New method.
    * include/java-interp.h
    (_Jv_InterpMethod::get_max_locals): New method.

From-SVN: r121700
This commit is contained in:
Kyle Galloway 2007-02-07 23:28:04 +00:00 committed by Kyle Galloway
parent 304237321b
commit 04ab45732d
3 changed files with 50 additions and 1 deletions

View file

@ -219,6 +219,11 @@ class _Jv_InterpMethod : public _Jv_MethodBase
*/
void get_line_table (jlong& start, jlong& end, jintArray& line_numbers,
jlongArray& code_indices);
int get_max_locals ()
{
return static_cast<int> (max_locals);
}
/* Installs a break instruction at the given code index. Returns
the pc_t of the breakpoint or NULL if index is invalid. */