mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
java-interp.h (_Jv_InterpMethod::get_insn): Declare.
* include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
(_Jv_InterpMethod::set_insn): Declare.
* interpret.cc (_Jv_InterpMethod::get_insn): New method.
(_Jv_InterpMethod::get_insn): New method.
From-SVN: r117614
This commit is contained in:
@@ -206,6 +206,13 @@ class _Jv_InterpMethod : public _Jv_MethodBase
|
||||
void get_line_table (jlong& start, jlong& end, jintArray& line_numbers,
|
||||
jlongArray& code_indices);
|
||||
|
||||
// Gets the instruction at the given index
|
||||
pc_t get_insn (jlong index);
|
||||
|
||||
/* Writes the given instruction at the given code index. Returns
|
||||
the insn or NULL if index is invalid. */
|
||||
pc_t set_insn (jlong index, pc_t insn);
|
||||
|
||||
#ifdef DIRECT_THREADED
|
||||
friend void _Jv_CompileMethod (_Jv_InterpMethod*);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user