Fix another occurrence of inverted logic on the result of MappedFile::map

llvm-svn: 29828
This commit is contained in:
Reid Spencer 2006-08-22 18:03:02 +00:00
parent c9c2bf5af1
commit 999de6b300

View File

@ -20,7 +20,7 @@ using namespace llvm;
///
void SourceFile::readFile() {
std::string ErrMsg;
if (File.map(&ErrMsg))
if (!File.map(&ErrMsg))
throw ErrMsg;
}