interpret.cc: Don't include fdlibm.h.

2000-02-10  Andrew Haley  <aph@cygnus.com>

	* interpret.cc: Don't include fdlibm.h.
	Replace #if with #ifdef throughout.
	Declare extern __ieee754_fmod.
	(continue1): Remove op_getfield, op_getstatic, op_putfield,
	op_putstatic insns.
	* resolve.cc (_Jv_PrepareClass): Use imeth as method pointer.
	Search class hierarchy for superclass vtable.

	* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Don't fall
	off the end of a pointer list.

	* java/lang/natThread.cc (stop): Don't abort, throw an exception
	instead.
	(suspend): Ditto.

From-SVN: r31897
This commit is contained in:
Andrew Haley 2000-02-10 17:16:30 +00:00 committed by Andrew Haley
parent ae0a06c54b
commit 715bdd8117
5 changed files with 130 additions and 312 deletions

View file

@ -368,12 +368,15 @@ _Jv_UnregisterClass (jclass the_class)
}
_Jv_LoaderInfo **info = &(initiated_classes[hash]);
for ( ; *info; info = &((*info)->next))
for ( ; ; info = &((*info)->next))
{
while ((*info)->klass == the_class)
while (*info && (*info)->klass == the_class)
{
*info = (*info)->next;
}
if (*info == NULL)
break;
}
_Jv_MonitorExit (&ClassClass);