1 //===-- GCMetadataPrinter.cpp - Garbage collection infrastructure ---------===//
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 abstract base class GCMetadataPrinter.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/CodeGen/GCMetadataPrinter.h"
18 // -----------------------------------------------------------------------------
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;
27 // -----------------------------------------------------------------------------
29 GCMetadataPrinter::GCMetadataPrinter() { }
31 GCMetadataPrinter::~GCMetadataPrinter() { }
33 void GCMetadataPrinter::beginAssembly(std::ostream &OS, AsmPrinter &AP,
34 const TargetAsmInfo &TAI) {
35 // Default is no action.
38 void GCMetadataPrinter::finishAssembly(std::ostream &OS, AsmPrinter &AP,
39 const TargetAsmInfo &TAI) {
40 // Default is no action.