diff options
author | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-11 17:37:24 +0000 |
---|---|---|
committer | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-11 17:37:24 +0000 |
commit | decb541dcb9a0aa08ee26a6257688391220adfef (patch) | |
tree | f9a7ac690fe2e6fdf47b1fa98559bff90052aa59 /libjava/interpret.cc | |
parent | f7e97fb8fd301c5dd0e90066f839d8ab322b9d49 (diff) | |
download | gcc-decb541dcb9a0aa08ee26a6257688391220adfef.tar.gz |
* interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
method is compiled.
* testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
for compiled methods.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126556 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc index 01a9c383fcd..092f3dd5f00 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -1534,7 +1534,11 @@ _Jv_InterpMethod::get_local_var_table (char **name, char **sig, char **generic_sig, jlong *startloc, jint *length, jint *slot, int table_slot) -{ +{ +#ifdef DIRECT_THREADED + _Jv_CompileMethod (this); +#endif + if (local_var_table == NULL) return -2; if (table_slot >= local_var_table_len) |