aboutsummaryrefslogtreecommitdiff
path: root/libjava/interpret.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-12-06 23:41:38 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-12-06 23:41:38 +0000
commitb4d0051bd97c7c6cb2e5e2dc65286985cfccb35c (patch)
tree17255e0977815a30bda684d2dba5ea831676898f /libjava/interpret.cc
parent377dfc820f477c12d33c99b238171788c40fda02 (diff)
downloadgcc-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.cc2
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;
}