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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user