diff options
author | Keith Seitz <keiths@redhat.com> | 2006-09-30 19:20:16 +0000 |
---|---|---|
committer | Keith Seitz <kseitz@gcc.gnu.org> | 2006-09-30 19:20:16 +0000 |
commit | 19add4f7e416da5706eb0e0a0cbbd980a74f4b86 (patch) | |
tree | b484dd0bd0295d212071fc7b2fc86b6422a1732f /libjava/include/java-interp.h | |
parent | 05c1e3a7a94397c4ce9ef29cefec2eeebc2cdb53 (diff) | |
download | gcc-19add4f7e416da5706eb0e0a0cbbd980a74f4b86.zip gcc-19add4f7e416da5706eb0e0a0cbbd980a74f4b86.tar.gz gcc-19add4f7e416da5706eb0e0a0cbbd980a74f4b86.tar.bz2 |
java-interp.h (prepared): Change type to pc_t.
* include/java-interp.h (prepared): Change type to pc_t.
(insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
* interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
(insn_index): Implement for bytecode interpreter.
* interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
qualifier to resolve_pool_entry.
[!DIRECT_THREADED] (AVAL2U): Likewise.
[!DIRECT_THREADED] bytecode() cannot be called without an object.
Changed all typos.
[!DIRECT_THREADED] Likewise for defining_class.
From-SVN: r117333
Diffstat (limited to 'libjava/include/java-interp.h')
-rw-r--r-- | libjava/include/java-interp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index efb8b41..133fd19 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -144,7 +144,7 @@ class _Jv_InterpMethod : public _Jv_MethodBase int line_table_len; _Jv_LineTableEntry *line_table; - void *prepared; + pc_t prepared; int number_insn_slots; unsigned char* bytecode () @@ -191,13 +191,9 @@ class _Jv_InterpMethod : public _Jv_MethodBase // number info is unavailable. int get_source_line(pc_t mpc); - - -#ifdef DIRECT_THREADED // Convenience function for indexing bytecode PC/insn slots in // line tables for JDWP jlong insn_index (pc_t pc); -#endif public: |