Adjust to changed interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-01-23 03:31:39 +00:00
parent cc1b90b0e7
commit cf989fd2a3

View File

@ -303,7 +303,8 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
std::string Error; std::string Error;
bool FilesDifferent = false; bool FilesDifferent = false;
if (DiffFiles(ReferenceOutputFile, Output.toString(), &Error)) { if (DiffFilesWithTolerance(ReferenceOutputFile, Output.toString(), 0, 0,
&Error)) {
if (!Error.empty()) { if (!Error.empty()) {
std::cerr << "While diffing output: " << Error << '\n'; std::cerr << "While diffing output: " << Error << '\n';
exit(1); exit(1);