Fix a copy/paste-o that got missed because 'check' doesn't build lto.
authorChandler Carruth <chandlerc@gmail.com>
Thu, 31 Jan 2013 23:34:47 +0000 (23:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 31 Jan 2013 23:34:47 +0000 (23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174115 91177308-0d34-0410-b5e6-96231b3b80d8

tools/lto/LTOModule.cpp

index e2bf8583269cf40c3d9abce436de78730261c699..ff67769192c345d7375ae4e4265540a8fdc2c7e7 100644 (file)
@@ -807,7 +807,7 @@ namespace {
     virtual void FinishImpl() {}
 
     static bool classof(const MCStreamer *S) {
-      return S->getKind == SK_RecordStreamer;
+      return S->getKind() == SK_RecordStreamer;
     }
   };
 } // end anonymous namespace