[llvm] r174115 - Fix a copy/paste-o that got missed because 'check' doesn't build lto.
Chandler Carruth
chandlerc at gmail.com
Thu Jan 31 15:34:47 PST 2013
Author: chandlerc
Date: Thu Jan 31 17:34:47 2013
New Revision: 174115
URL: http://llvm.org/viewvc/llvm-project?rev=174115&view=rev
Log:
Fix a copy/paste-o that got missed because 'check' doesn't build lto.
Modified:
llvm/trunk/tools/lto/LTOModule.cpp
Modified: llvm/trunk/tools/lto/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOModule.cpp?rev=174115&r1=174114&r2=174115&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOModule.cpp (original)
+++ llvm/trunk/tools/lto/LTOModule.cpp Thu Jan 31 17:34:47 2013
@@ -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
More information about the llvm-commits
mailing list