From 30cfaa2578ea60d337cdff3096080f8e60b57e6e Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 31 Jan 2013 23:34:47 +0000 Subject: [PATCH] Fix a copy/paste-o that got missed because 'check' doesn't build lto. llvm-svn: 174115 --- llvm/tools/lto/LTOModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/lto/LTOModule.cpp b/llvm/tools/lto/LTOModule.cpp index e2bf8583269c..ff67769192c3 100644 --- a/llvm/tools/lto/LTOModule.cpp +++ b/llvm/tools/lto/LTOModule.cpp @@ -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 -- 2.34.1