Split GCStrategy.cpp into two files (NFC)
[oota-llvm.git] / lib / CodeGen / GCStrategy.cpp
1 //===-- GCStrategy.cpp - Garbage Collector Description --------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the policy object GCStrategy which describes the
11 // behavior of a given garbage collector.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #include "llvm/CodeGen/GCStrategy.h"
16
17 using namespace llvm;
18
19 GCStrategy::GCStrategy() :
20   UseStatepoints(false),
21   NeededSafePoints(0),
22   CustomReadBarriers(false),
23   CustomWriteBarriers(false),
24   CustomRoots(false),
25   CustomSafePoints(false),
26   InitRoots(true),
27   UsesMetadata(false)
28 {}