1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

A few more microsteps

llvm-svn: 13817
This commit is contained in:
Chris Lattner 2004-05-27 05:51:13 +00:00
parent f2b4daf3eb
commit 695ca18c95

View File

@ -15,10 +15,16 @@
#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.