Relocate function declaration out the GC and into the compiler.
diff --git a/vm/alloc/Heap.c b/vm/alloc/Heap.c
index 28aff0a..276d4d5 100644
--- a/vm/alloc/Heap.c
+++ b/vm/alloc/Heap.c
@@ -1015,8 +1015,6 @@
dvmUnlockMutex(&gDvm.heapWorkerLock);
#if defined(WITH_JIT)
- extern void dvmCompilerPerformSafePointChecks(void);
-
/*
* Patching a chaining cell is very cheap as it only updates 4 words. It's
* the overhead of stopping all threads and synchronizing the I/D cache
diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h
index ccc91dd..1854df5 100644
--- a/vm/compiler/Compiler.h
+++ b/vm/compiler/Compiler.h
@@ -155,6 +155,7 @@
void dvmCompilerDrainQueue(void);
void dvmJitUnchainAll(void);
void dvmCompilerSortAndPrintTraceProfiles(void);
+void dvmCompilerPerformSafePointChecks(void);
struct CompilationUnit;
struct BasicBlock;