diff options
author | kgallowa <kgallowa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-07 23:28:04 +0000 |
---|---|---|
committer | kgallowa <kgallowa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-07 23:28:04 +0000 |
commit | 08f67980a87ba0bd30ef23ead37ce411b4856339 (patch) | |
tree | 2038b56ebfb3636da8769eab3a6f9a836e9d878c /libjava/include | |
parent | 6d84c3e2de7dfb7e3c7742541701ce67676d9735 (diff) | |
download | gcc-08f67980a87ba0bd30ef23ead37ce411b4856339.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121700 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/java-interp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 3a43977747f..1370ef1de50 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -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. */ |