mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
e0ccb686f9
According the build bots, clang is using the Registry class somewhere as well. Will reapply with appropriate clang changes at a later point. llvm-svn: 258159
23 lines
807 B
C++
23 lines
807 B
C++
//===-- 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), InitRoots(true),
|
|
UsesMetadata(false) {}
|