X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FOcamlGC.cpp;h=17654a6ac3a20da74caf9e384e4c880df02ab91d;hb=85e0db955c7d5f7b1baf3d337ff0fb0cd8fb0404;hp=0b90444406da2bdbbd676699c5341466b2d4c272;hpb=5eca075b74d62c621b160aa216b4cd50829a2cc7;p=oota-llvm.git diff --git a/lib/CodeGen/OcamlGC.cpp b/lib/CodeGen/OcamlGC.cpp index 0b90444406d..17654a6ac3a 100644 --- a/lib/CodeGen/OcamlGC.cpp +++ b/lib/CodeGen/OcamlGC.cpp @@ -9,27 +9,26 @@ // // This file implements lowering for the llvm.gc* intrinsics compatible with // Objective Caml 3.10.0, which uses a liveness-accurate static stack map. -// +// // The frametable emitter is in OcamlGCPrinter.cpp. // //===----------------------------------------------------------------------===// - + #include "llvm/CodeGen/GCs.h" #include "llvm/CodeGen/GCStrategy.h" using namespace llvm; namespace { - class VISIBILITY_HIDDEN 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;