summaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index 3aa0acba987..4a7fc4a8230 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -380,6 +380,7 @@ _Jv_AllocRawObj (jsize size)
return (void *) GC_MALLOC (size ? size : 1);
}
+#ifdef INTERPRETER
typedef _Jv_ClosureList *closure_list_pointer;
/* Release closures in a _Jv_ClosureList. */
@@ -402,6 +403,7 @@ _Jv_ClosureListFinalizer ()
NULL, NULL, NULL);
return clpp;
}
+#endif // INTERPRETER
static void
call_finalizer (GC_PTR obj, GC_PTR client_data)