summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/CodeGen/OcamlGC.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-01-14 20:03:33 +0000
committerpatrick <patrick@openbsd.org>2017-01-14 20:03:33 +0000
commitdc7ed217e9eb98649b8c5ed4495b0a3dc1b7ff43 (patch)
treec79aa107474a358f6af1132e6d94161c1e33a918 /gnu/llvm/lib/CodeGen/OcamlGC.cpp
parentImport LLVM 3.9.1 including clang and lld. (diff)
downloadwireguard-openbsd-dc7ed217e9eb98649b8c5ed4495b0a3dc1b7ff43.tar.xz
wireguard-openbsd-dc7ed217e9eb98649b8c5ed4495b0a3dc1b7ff43.zip
Merge LLVM 3.9.1
Diffstat (limited to 'gnu/llvm/lib/CodeGen/OcamlGC.cpp')
-rw-r--r--gnu/llvm/lib/CodeGen/OcamlGC.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/gnu/llvm/lib/CodeGen/OcamlGC.cpp b/gnu/llvm/lib/CodeGen/OcamlGC.cpp
deleted file mode 100644
index 17654a6ac3a..00000000000
--- a/gnu/llvm/lib/CodeGen/OcamlGC.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-//===-- OcamlGC.cpp - Ocaml frametable GC strategy ------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// 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 OcamlGC : public GCStrategy {
-public:
- OcamlGC();
-};
-}
-
-static GCRegistry::Add<OcamlGC> X("ocaml", "ocaml 3.10-compatible GC");
-
-void llvm::linkOcamlGC() {}
-
-OcamlGC::OcamlGC() {
- NeededSafePoints = 1 << GC::PostCall;
- UsesMetadata = true;
-}