* resolve.cc (_Jv_PrepareClass): Enable verifier.
From-SVN: r48660
This commit is contained in:
parent
a693284d4d
commit
bd917d3a24
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-01-08 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* resolve.cc (_Jv_PrepareClass): Enable verifier.
|
||||||
|
|
||||||
2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
|
2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
|
||||||
|
|
||||||
* java/lang/reflect/natMethod.cc: Don't include alloca.h.
|
* java/lang/reflect/natMethod.cc: Don't include alloca.h.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// resolve.cc - Code for linking and resolving classes and pool entries.
|
// resolve.cc - Code for linking and resolving classes and pool entries.
|
||||||
|
|
||||||
/* Copyright (C) 1999, 2000, 2001 Free Software Foundation
|
/* Copyright (C) 1999, 2000, 2001 , 2002 Free Software Foundation
|
||||||
|
|
||||||
This file is part of libgcj.
|
This file is part of libgcj.
|
||||||
|
|
||||||
|
@ -628,8 +628,7 @@ _Jv_PrepareClass(jclass klass)
|
||||||
else if (imeth != 0) // it could be abstract
|
else if (imeth != 0) // it could be abstract
|
||||||
{
|
{
|
||||||
_Jv_InterpMethod *im = reinterpret_cast<_Jv_InterpMethod *> (imeth);
|
_Jv_InterpMethod *im = reinterpret_cast<_Jv_InterpMethod *> (imeth);
|
||||||
// FIXME: enable once verifier is more fully tested.
|
_Jv_VerifyMethod (im);
|
||||||
// _Jv_VerifyMethod (im);
|
|
||||||
clz->methods[i].ncode = im->ncode ();
|
clz->methods[i].ncode = im->ncode ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue