Fixed an error message.

llvm-svn: 179918
This commit is contained in:
Sean Callanan 2013-04-20 02:39:24 +00:00
parent 4685073430
commit 49630e7fe9
1 changed files with 1 additions and 1 deletions

View File

@ -1300,7 +1300,7 @@ IRInterpreter::Interpret (llvm::Module &module,
if (log)
log->Printf("Couldn't write to a region on behalf of a StoreInst");
error.SetErrorToGenericError();
error.SetErrorString(memory_read_error);
error.SetErrorString(memory_write_error);
return false;
}