New test to verify that "merging 4 loads into a vec load" continues to work and
[oota-llvm.git] / lib / Debugger / SourceFile.cpp
index 799231fc8ddbeab3b0c87bda07df7428d01e0e51..820fc67f846da1832233428f7122eb6ea4121155 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -20,7 +20,7 @@ using namespace llvm;
 ///
 void SourceFile::readFile() {
   std::string ErrMsg;
-  if (File.map(&ErrMsg))
+  if (!File.map(&ErrMsg))
     throw ErrMsg;
 }