From 1a4152fa2c96ee5f728c68cc6179599870bffd50 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 7 Jul 2004 21:20:28 +0000 Subject: [PATCH] Make error message consistent with the rest of LLVM by saying that bytecode is read, not parsed. llvm-svn: 14677 --- llvm/lib/ExecutionEngine/JIT/JIT.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 02577df3c424..e9efd67f7c9c 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp @@ -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(); }