GCStrategy.h (234353) | GCStrategy.h (239462) |
---|---|
1//===-- llvm/CodeGen/GCStrategy.h - Garbage collection ----------*- C++ -*-===// 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//===----------------------------------------------------------------------===// --- 51 unchanged lines hidden (view full) --- 60 private: 61 friend class GCModuleInfo; 62 const Module *M; 63 std::string Name; 64 65 list_type Functions; 66 67 protected: | 1//===-- llvm/CodeGen/GCStrategy.h - Garbage collection ----------*- C++ -*-===// 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//===----------------------------------------------------------------------===// --- 51 unchanged lines hidden (view full) --- 60 private: 61 friend class GCModuleInfo; 62 const Module *M; 63 std::string Name; 64 65 list_type Functions; 66 67 protected: |
68 unsigned NeededSafePoints; //< Bitmask of required safe points. 69 bool CustomReadBarriers; //< Default is to insert loads. 70 bool CustomWriteBarriers; //< Default is to insert stores. 71 bool CustomRoots; //< Default is to pass through to backend. 72 bool CustomSafePoints; //< Default is to use NeededSafePoints 73 // to find safe points. 74 bool InitRoots; //< If set, roots are nulled during lowering. 75 bool UsesMetadata; //< If set, backend must emit metadata tables. | 68 unsigned NeededSafePoints; ///< Bitmask of required safe points. 69 bool CustomReadBarriers; ///< Default is to insert loads. 70 bool CustomWriteBarriers; ///< Default is to insert stores. 71 bool CustomRoots; ///< Default is to pass through to backend. 72 bool CustomSafePoints; ///< Default is to use NeededSafePoints 73 ///< to find safe points. 74 bool InitRoots; ///< If set, roots are nulled during lowering. 75 bool UsesMetadata; ///< If set, backend must emit metadata tables. |
76 77 public: 78 GCStrategy(); 79 80 virtual ~GCStrategy(); 81 82 83 /// getName - The name of the GC strategy, for debugging. --- 70 unchanged lines hidden --- | 76 77 public: 78 GCStrategy(); 79 80 virtual ~GCStrategy(); 81 82 83 /// getName - The name of the GC strategy, for debugging. --- 70 unchanged lines hidden --- |