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!!!

llvm-svn: 174121

llvm/lib/MC/MCAsmStreamer.cpp

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