[llvm] r174121 - Fix another typo in the classof definitions that doesn't (currently)
Chandler Carruth
chandlerc at gmail.com
Thu Jan 31 16:04:33 PST 2013
Author: chandlerc
Date: Thu Jan 31 18:04:33 2013
New Revision: 174121
URL: http://llvm.org/viewvc/llvm-project?rev=174121&view=rev
Log:
Fix another typo in the classof definitions that doesn't (currently)
have any effect. Spotted by Eli in review, thanks!!!
Modified:
llvm/trunk/lib/MC/MCAsmStreamer.cpp
Modified: llvm/trunk/lib/MC/MCAsmStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmStreamer.cpp?rev=174121&r1=174120&r2=174121&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp Thu Jan 31 18:04:33 2013
@@ -279,7 +279,7 @@ public:
/// @}
static bool classof(const MCStreamer *S) {
- return S->getKind() == SK_NullStreamer;
+ return S->getKind() == SK_AsmStreamer;
}
};
More information about the llvm-commits
mailing list