X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FOcamlGC.cpp;h=17654a6ac3a20da74caf9e384e4c880df02ab91d;hb=0a7baafe6489b8973a26377f38da7a8fd8ee65b6;hp=c5c78529ece349b0e410d877617806bd0ef07ec9;hpb=07fbc5c1c66670ea2b325c303f52f3e82d69eb93;p=oota-llvm.git diff --git a/lib/CodeGen/OcamlGC.cpp b/lib/CodeGen/OcamlGC.cpp index c5c78529ece..17654a6ac3a 100644 --- a/lib/CodeGen/OcamlGC.cpp +++ b/lib/CodeGen/OcamlGC.cpp @@ -15,21 +15,20 @@ //===----------------------------------------------------------------------===// #include "llvm/CodeGen/GCs.h" -#include "llvm/IR/GCStrategy.h" +#include "llvm/CodeGen/GCStrategy.h" using namespace llvm; namespace { - class OcamlGC : public GCStrategy { - public: - OcamlGC(); - }; +class OcamlGC : public GCStrategy { +public: + OcamlGC(); +}; } -static GCRegistry::Add -X("ocaml", "ocaml 3.10-compatible GC"); +static GCRegistry::Add X("ocaml", "ocaml 3.10-compatible GC"); -void llvm::linkOcamlGC() { } +void llvm::linkOcamlGC() {} OcamlGC::OcamlGC() { NeededSafePoints = 1 << GC::PostCall;