[llvm] r174113 - Give the MCStreamer class hierarchy LLVM RTTI facilities for use with
Carter, Jack
jcarter at mips.com
Thu Jan 31 18:33:57 PST 2013
Jim,
I'm retrofitting my Mips portion of the e_header patch to fit what was done for ARM. A few questions:
Why is ARM here in MCELFStreamer.h? Is this just an early fix?
> + static bool classof(const MCStreamer *S) {
> + return S->getKind() == SK_ELFStreamer && S->getKind() == SK_ARMELFStreamer;
> + }
And I assume that I will want to add an SK_MipsELFStreamer enum variant to MCStreamer.h.
Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/8465fb53/attachment.html>
More information about the llvm-commits
mailing list