summaryrefslogtreecommitdiff
path: root/libjava/nogc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/nogc.cc')
-rw-r--r--libjava/nogc.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/nogc.cc b/libjava/nogc.cc
index 7cdd5827724..65cc8c30e22 100644
--- a/libjava/nogc.cc
+++ b/libjava/nogc.cc
@@ -66,6 +66,13 @@ _Jv_AllocBytes (jsize size)
return obj;
}
+void *
+_Jv_AllocRawObj (jsize size)
+{
+ total += size;
+ return calloc (size, 1);
+}
+
void
_Jv_RegisterFinalizer (void *, _Jv_FinalizerFunc *)
{