diff options
author | Tom Tromey <tromey@redhat.com> | 2002-12-06 23:41:38 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-12-06 23:41:38 +0000 |
commit | b4d0051bd97c7c6cb2e5e2dc65286985cfccb35c (patch) | |
tree | 17255e0977815a30bda684d2dba5ea831676898f /libjava/interpret.cc | |
parent | 377dfc820f477c12d33c99b238171788c40fda02 (diff) | |
download | gcc-b4d0051bd97c7c6cb2e5e2dc65286985cfccb35c.zip gcc-b4d0051bd97c7c6cb2e5e2dc65286985cfccb35c.tar.gz gcc-b4d0051bd97c7c6cb2e5e2dc65286985cfccb35c.tar.bz2 |
java-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL.
* include/java-interp.h (class _Jv_InterpMethod): Added
JV_MARKOBJ_DECL.
* boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
mark `prepared' field of interpreted method.
* interpret.cc (compile): Use _Jv_AllocBytes.
From-SVN: r59900
Diffstat (limited to 'libjava/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/interpret.cc b/libjava/interpret.cc index bc324b1..9791b4a 100644 --- a/libjava/interpret.cc +++ b/libjava/interpret.cc @@ -312,7 +312,7 @@ _Jv_InterpMethod::compile (const void * const *insn_targets) if (! first_pass) { - insns = (insn_slot *) _Jv_Malloc (sizeof (insn_slot) * next); + insns = (insn_slot *) _Jv_AllocBytes (sizeof (insn_slot) * next); next = 0; } |