blob: 43d06b0f82e9491d8f6f760eefac352271c72c85 [file] [log] [blame]
Eugene Zelenkofa912a72017-02-27 22:45:06 +00001//===- GCStrategy.cpp - Garbage Collector Description ---------------------===//
Gordon Henriksen37ca83d2007-09-29 02:13:43 +00002//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Gordon Henriksen37ca83d2007-09-29 02:13:43 +00006//
7//===----------------------------------------------------------------------===//
8//
Philip Reamesf27f3732015-01-15 19:29:42 +00009// This file implements the policy object GCStrategy which describes the
10// behavior of a given garbage collector.
Gordon Henriksend930f912008-08-17 18:44:35 +000011//
Gordon Henriksen37ca83d2007-09-29 02:13:43 +000012//===----------------------------------------------------------------------===//
13
Philip Reames56a03932015-01-26 18:26:35 +000014#include "llvm/CodeGen/GCStrategy.h"
NAKAMURA Takumi48340092015-01-25 15:05:36 +000015
Gordon Henriksen37ca83d2007-09-29 02:13:43 +000016using namespace llvm;
17
John Brawn4d79ec72016-08-05 11:01:08 +000018LLVM_INSTANTIATE_REGISTRY(GCRegistry)
19
Eugene Zelenkofa912a72017-02-27 22:45:06 +000020GCStrategy::GCStrategy() = default;