A few more microsteps
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 05:51:13 +0000 (05:51 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 05:51:13 +0000 (05:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13817 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/GC/GCInterface.h

index cbf9bda422d1e79c0108a557e6c356b7b54df711..e2a9b68fc70d30a5cf44a0d46a58a8019b4e4925 100644 (file)
 #ifndef GCINTERFACE_H
 #define GCINTERFACE_H
 
+/* llvm_cg_walk_gcroots - This function is exposed by the LLVM code generator,
+ * and allows us to traverse the roots on the stack.
+ */
+void llvm_cg_walk_gcroots(void (*FP)(void **Root, void *Meta));
+
+
 /* llvm_gc_initialize - This function is called to initalize the garbage
  * collector.
  */
-void llvm_gc_initialize();
+void llvm_gc_initialize(unsigned InitialHeapSize);
 
 /* llvm_gc_allocate - This function allocates Size bytes from the heap and
  * returns a pointer to it.