1 //===-- GCMetadataPrinter.cpp - Garbage collection infrastructure ---------===// 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 abstract base class GCMetadataPrinter. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #include "llvm/CodeGen/GCMetadataPrinter.h" 15 16 using namespace llvm; 17 18 // ----------------------------------------------------------------------------- 19 20 template<> GCMetadataPrinterRegistry::node *GCMetadataPrinterRegistry::Head = 0; 21 template<> GCMetadataPrinterRegistry::node *GCMetadataPrinterRegistry::Tail = 0; 22 template<> GCMetadataPrinterRegistry::listener * 23 GCMetadataPrinterRegistry::ListenerHead = 0; 24 template<> GCMetadataPrinterRegistry::listener * 25 GCMetadataPrinterRegistry::ListenerTail = 0; 26 27 // ----------------------------------------------------------------------------- 28 29 GCMetadataPrinter::GCMetadataPrinter() { } 30 31 GCMetadataPrinter::~GCMetadataPrinter() { } 32 33 void GCMetadataPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP, 34 const TargetAsmInfo &TAI) { 35 // Default is no action. 36 } 37 38 void GCMetadataPrinter::finishAssembly(std::ostream &OS, AsmPrinter &AP, 39 const TargetAsmInfo &TAI) { 40 // Default is no action. 41 } 42