1 //===-- GCStrategy.cpp - Garbage Collector Description --------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the policy object GCStrategy which describes the
11 // behavior of a given garbage collector.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/CodeGen/GCStrategy.h"
19 GCStrategy::GCStrategy()
20 : UseStatepoints(false), NeededSafePoints(0), CustomReadBarriers(false),
21 CustomWriteBarriers(false), CustomRoots(false), InitRoots(true),
22 UsesMetadata(false) {}