[llvm-commits] Factoring AsmPrinter foo out of Collector
Gordon Henriksen
gordonhenriksen at me.com
Sat Aug 16 17:36:33 PDT 2008
Hi Anton,
This patch should allow you to factor the assembly writer out of the
JIT without removing the GC infrastructure.
I took the approach of separating the assembly printing mechanisms
from the Collector class, using a separate registry to look each up by
name. CodeGen will access CollectorRegistry; AsmPrinter will access
GCMetadataPrinterRegistry.
GCMetadataPrinter and its subclass go into your new assembly printer
library.
Let me know if this looks good. If so, I'll commit and then break the
classes out into separate files so that your library factoring can
proceed smoothly.
— Gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc-factor.patch
Type: application/octet-stream
Size: 12183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080816/3c347efc/attachment.obj>
-------------- next part --------------
More information about the llvm-commits
mailing list