From 2d4fd7e6b68753d975d2ed35ccb7ba2ad4483013 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 31 Jan 2013 23:43:12 +0000 Subject: [PATCH] Fix a think-o in the condition here. =[ I would commit the test that caught this, but I want that in a separate commit in case there is a need to revert the actual functional bit as part of reverting other patches. This way, the commits relating to just getting the RTTI bits in place are separate from the functional changes that start using them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174117 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCELFStreamer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/MCELFStreamer.h b/include/llvm/MC/MCELFStreamer.h index 04136132326..f78de157013 100644 --- a/include/llvm/MC/MCELFStreamer.h +++ b/include/llvm/MC/MCELFStreamer.h @@ -87,7 +87,7 @@ public: /// @} static bool classof(const MCStreamer *S) { - return S->getKind() == SK_ELFStreamer && S->getKind() == SK_ARMELFStreamer; + return S->getKind() == SK_ELFStreamer || S->getKind() == SK_ARMELFStreamer; } private: