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
This commit is contained in:
Tom Tromey
2002-12-06 23:41:38 +00:00
committed by Tom Tromey
parent 377dfc820f
commit b4d0051bd9
4 changed files with 34 additions and 16 deletions
+1 -1
View File
@@ -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;
}