Changes:
- $Id: finalizer.c 4357 2006-01-22 23:33:38Z twisti $
+ $Id: finalizer.c 4552 2006-03-04 17:15:44Z twisti $
*/
#include "vm/global.h"
#include "vm/options.h"
#include "vm/stringlocal.h"
+#include "vm/vm.h"
#include "vm/jit/asmpart.h"
/* call the finalizer function */
- ASM_CALLJAVAFUNCTION(ob->vftbl->class->finalizer, ob, NULL, NULL, NULL);
+ vm_call_method_intern(ob->vftbl->class->finalizer, ob, NULL, NULL, NULL);
/* if we had an exception in the finalizer, ignore it */