Make error message consistent with the rest of LLVM by saying that bytecode

is read, not parsed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-07-07 21:20:28 +00:00
parent 23a354d1f1
commit f86cafdda4

View File

@ -118,10 +118,10 @@ void *JIT::getPointerToFunction(Function *F) {
try {
MP->materializeFunction(F);
} catch ( std::string& errmsg ) {
std::cerr << "Error parsing bytecode file: " << errmsg << "\n";
std::cerr << "Error reading bytecode file: " << errmsg << "\n";
abort();
} catch (...) {
std::cerr << "Error parsing bytecode file!\n";
std::cerr << "Error reading bytecode file!\n";
abort();
}