aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-31 23:43:12 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-31 23:43:12 +0000
commit2d4fd7e6b68753d975d2ed35ccb7ba2ad4483013 (patch)
tree85f83c78ec7007e44c6c050dbde47e4d9fd51a87
parent39da078977ae98b6bf1c3c76a472ed24f5f2a2d2 (diff)
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
-rw-r--r--include/llvm/MC/MCELFStreamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCELFStreamer.h b/include/llvm/MC/MCELFStreamer.h
index 0413613232..f78de15701 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: