[multiple changes]
2005-05-12 Bryce McKinlay <mckinlay@redhat.com> * include/jvm.h (gcj::verifyClasses): Declare. * link.cc (gcj::verbose_class_flag): Moved. * prims.cc (gcj::verifyClasses): Define here. (gcj::verbose_class_flag): Move definition here. (_Jv_Linker::wait_for_state): Don't call verify_class if gcj::verifyClasses is not set. * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given. 2005-05-12 Aaron Luchko <aluchko@redhat.com> * gij.cc (main): Recognize '-verify', '-noverify', and '-verifyremote' 2005-05-12 Aaron Luchko <aluchko@redhat.com> * gcj.texi: Add '-verify', '-noverify', and '-verifyremote'. From-SVN: r99646
This commit is contained in:
+2
-4
@@ -44,9 +44,6 @@ details. */
|
||||
|
||||
using namespace gcj;
|
||||
|
||||
// When true, print debugging information about class loading.
|
||||
bool gcj::verbose_class_flag;
|
||||
|
||||
typedef unsigned int uaddr __attribute__ ((mode (pointer)));
|
||||
|
||||
template<typename T>
|
||||
@@ -1728,7 +1725,8 @@ _Jv_Linker::wait_for_state (jclass klass, int state)
|
||||
|
||||
if (state >= JV_STATE_LINKED && klass->state < JV_STATE_LINKED)
|
||||
{
|
||||
verify_class (klass);
|
||||
if (gcj::verifyClasses)
|
||||
verify_class (klass);
|
||||
|
||||
ensure_class_linked (klass);
|
||||
link_exception_table (klass);
|
||||
|
||||
Reference in New Issue
Block a user