Started skeleton for accurate GC
This commit is contained in:
parent
75fb24e369
commit
edeff09e86
4 changed files with 100 additions and 0 deletions
16
src/Accurate_GC/gc.cpp
Normal file
16
src/Accurate_GC/gc.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* // TODO: include these properly
|
||||
#include "llvm/CodeGen/GCStrategy.h"
|
||||
#include "llvm/CodeGen/GCMetadata.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class LLVM_LIBRARY_VISIBILITY GC : public GCStrategy {
|
||||
public:
|
||||
GC() {}
|
||||
};
|
||||
|
||||
GCRegistry::Add<GC>
|
||||
X("gc", "The bespoken garbage collector.");
|
||||
} */
|
||||
Loading…
Add table
Add a link
Reference in a new issue