aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lli/lli.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-24 00:39:16 +0000
committerChris Lattner <sabre@nondot.org>2002-12-24 00:39:16 +0000
commitd6840ac046715061d42e4dd5375cd9ed6dd3dca4 (patch)
tree80b1fb5e2f3c5f530210e4e9a241346064b90fa7 /tools/lli/lli.cpp
parenta3b58e8e1b7e7aca5de3a7cdf904c9cacd7b1d9c (diff)
downloadexternal_llvm-d6840ac046715061d42e4dd5375cd9ed6dd3dca4.zip
external_llvm-d6840ac046715061d42e4dd5375cd9ed6dd3dca4.tar.gz
external_llvm-d6840ac046715061d42e4dd5375cd9ed6dd3dca4.tar.bz2
Fixes to compile with GCC 3.2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli/lli.cpp')
-rw-r--r--tools/lli/lli.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index be6ed11..73052c0 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -51,17 +51,17 @@ int main(int argc, char** argv) {
" llvm interpreter & dynamic compiler\n");
// Load the bytecode...
- string ErrorMsg;
+ std::string ErrorMsg;
Module *M = ParseBytecodeFile(InputFile, &ErrorMsg);
if (M == 0) {
- cout << "Error parsing '" << InputFile << "': "
- << ErrorMsg << "\n";
+ std::cout << "Error parsing '" << InputFile << "': "
+ << ErrorMsg << "\n";
exit(1);
}
#if 0
// Link in the runtime library for LLI...
- string RuntimeLib = getCurrentExecutablePath();
+ std::string RuntimeLib = getCurrentExecutablePath();
if (!RuntimeLib.empty()) RuntimeLib += "/";
RuntimeLib += "RuntimeLib.bc";