diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-05-27 05:51:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-05-27 05:51:13 +0000 |
| commit | a2f45b2802f5a4662e57edac95159f0dd2749d2e (patch) | |
| tree | e68f68deaf415fa3cc66e3ce959e49cb860ebb3f /runtime | |
| parent | 56fff598410a7fbb1f77032e90ad25a8cf34313f (diff) | |
| download | external_llvm-a2f45b2802f5a4662e57edac95159f0dd2749d2e.zip external_llvm-a2f45b2802f5a4662e57edac95159f0dd2749d2e.tar.gz external_llvm-a2f45b2802f5a4662e57edac95159f0dd2749d2e.tar.bz2 | |
A few more microsteps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/GC/GCInterface.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/GC/GCInterface.h b/runtime/GC/GCInterface.h index cbf9bda..e2a9b68 100644 --- a/runtime/GC/GCInterface.h +++ b/runtime/GC/GCInterface.h @@ -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. |
