Fix another typo in the classof definitions that doesn't (currently)
authorChandler Carruth <chandlerc@gmail.com>
Fri, 1 Feb 2013 00:04:33 +0000 (00:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 1 Feb 2013 00:04:33 +0000 (00:04 +0000)
have any effect. Spotted by Eli in review, thanks!!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174121 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCAsmStreamer.cpp

index 71be1a9b894e7e5d4216d05d213c98864a04e4e5..7eb72023325ab9f810f7fab3abf1b55274561540 100644 (file)
@@ -279,7 +279,7 @@ public:
   /// @}
 
   static bool classof(const MCStreamer *S) {
-    return S->getKind() == SK_NullStreamer;
+    return S->getKind() == SK_AsmStreamer;
   }
 };