[llvm-commits] [vmkit] r52709 - /vmkit/trunk/lib/N3/VMCore/PNetLib.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Wed Jun 25 03:16:23 PDT 2008
Author: geoffray
Date: Wed Jun 25 05:16:04 2008
New Revision: 52709
URL: http://llvm.org/viewvc/llvm-project?rev=52709&view=rev
Log:
Don't declare external boehm symbols when using the gc boehm.
Modified:
vmkit/trunk/lib/N3/VMCore/PNetLib.cpp
Modified: vmkit/trunk/lib/N3/VMCore/PNetLib.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/N3/VMCore/PNetLib.cpp?rev=52709&r1=52708&r2=52709&view=diff
==============================================================================
--- vmkit/trunk/lib/N3/VMCore/PNetLib.cpp (original)
+++ vmkit/trunk/lib/N3/VMCore/PNetLib.cpp Wed Jun 25 05:16:04 2008
@@ -65,9 +65,10 @@
extern sint32 ILUnicodeStringCompareIgnoreCase(void*, void*, sint32);
extern sint32 ILUnicodeStringCompareNoIgnoreCase(void*, void*, sint32);
+#include "mvm/Config/config.h"
// PNET wants this
void *GC_run_thread(void *(*thread_func)(void *), void *arg){ return 0; }
-#ifndef USE_GC_BOEHM
+#if not(USE_GC_BOEHM)
int GC_invoke_finalizers (void) { return 0; }
int GC_should_invoke_finalizers (void) { return 0; }
void GC_register_finalizer_no_order(void*, void (*)(void*, void*), void*, void (**)(void*, void*), void**) { return; }
@@ -88,7 +89,7 @@
void (*GC_finalizer_notifier)(void);
int GC_java_finalization;
int GC_finalize_on_demand;
-void GC_set_max_heap_size(GC_word) {}
+void GC_set_max_heap_size(size_t) {}
void* GC_malloc_atomic(size_t) { return 0; }
#endif
More information about the llvm-commits
mailing list