aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/Collectors.h
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-08-17 12:08:44 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-08-17 12:08:44 +0000
commit3385c9b3aefbeb3fedca07320b1a7eedc68f220d (patch)
tree776b86519f67f3161e148249ea1118c0cc85260f /include/llvm/CodeGen/Collectors.h
parent8519c4355b9e5d818e0714f895a7a322c6737bf6 (diff)
downloadexternal_llvm-3385c9b3aefbeb3fedca07320b1a7eedc68f220d.zip
external_llvm-3385c9b3aefbeb3fedca07320b1a7eedc68f220d.tar.gz
external_llvm-3385c9b3aefbeb3fedca07320b1a7eedc68f220d.tar.bz2
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Collectors.h')
-rw-r--r--include/llvm/CodeGen/Collectors.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Collectors.h b/include/llvm/CodeGen/Collectors.h
index 0d9e451..1658da1 100644
--- a/include/llvm/CodeGen/Collectors.h
+++ b/include/llvm/CodeGen/Collectors.h
@@ -20,11 +20,16 @@
namespace llvm {
class Collector;
+ class GCMetadataPrinter;
/// The collector registry uses all the defaults from Registry.
///
typedef Registry<Collector> CollectorRegistry;
+ /// The GC assembly printer registry uses all the defaults from Registry.
+ ///
+ typedef Registry<GCMetadataPrinter> GCMetadataPrinterRegistry;
+
/// FIXME: Collector instances are not useful on their own. These no longer
/// serve any purpose except to link in the plugins.