summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commita983b4de7af0e6ccd31194fa445234e1e399171f (patch)
tree50fa1864429dfc18aa03f05319cb5499f4e4ebe3 /llvm/include
parent23804daad9f03070d2dd5b09597431d93e7d47d5 (diff)
downloadbcm5719-llvm-a983b4de7af0e6ccd31194fa445234e1e399171f.tar.gz
bcm5719-llvm-a983b4de7af0e6ccd31194fa445234e1e399171f.zip
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. llvm-svn: 174117
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/MC/MCELFStreamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/MCELFStreamer.h b/llvm/include/llvm/MC/MCELFStreamer.h
index 04136132326..f78de157013 100644
--- a/llvm/include/llvm/MC/MCELFStreamer.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud