summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
blob: 05db8c44a5d6009da682f51d5da7f19195058645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===-- GCStrategy.cpp - Garbage Collector Description --------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the policy object GCStrategy which describes the
// behavior of a given garbage collector.
//
//===----------------------------------------------------------------------===//

#include "llvm/CodeGen/GCStrategy.h"

using namespace llvm;

GCStrategy::GCStrategy()
    : UseStatepoints(false), NeededSafePoints(0), CustomReadBarriers(false),
      CustomWriteBarriers(false), CustomRoots(false), CustomSafePoints(false),
      InitRoots(true), UsesMetadata(false) {}
OpenPOWER on IntegriCloud