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
This commit is contained in:
Chandler Carruth 2013-01-31 23:43:12 +00:00
parent 39da078977
commit 2d4fd7e6b6

View File

@ -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: