summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-27 08:28:11 +0000
committerChris Lattner <sabre@nondot.org>2001-10-27 08:28:11 +0000
commit0b00b31c78d4131d3cbcb98066375f7901602b2a (patch)
tree79778c98ce55012c253294b5d4d56bb97057cf1b /llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
parent6642eec003caf3afa90d8eb8b71bc9b41015f31f (diff)
downloadbcm5719-llvm-0b00b31c78d4131d3cbcb98066375f7901602b2a.tar.gz
bcm5719-llvm-0b00b31c78d4131d3cbcb98066375f7901602b2a.zip
* Make pointer values work better by treating them uniformly as 64 bit values.
This causes code that is generated by gcc to work better. * Implement mul & div * Export malloc, free, and pow * add strtol, atoi, and atol to the runtime library llvm-svn: 988
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
index efe7150c137..a24b3117506 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/UserInput.cpp
@@ -263,7 +263,7 @@ bool Interpreter::callMainMethod(const string &Name,
return true;
}
- GenericValue GV; GV.PointerVal = (GenericValue*)CreateArgv(InputArgv);
+ GenericValue GV; GV.PointerVal = (uint64_t)CreateArgv(InputArgv);
Args.push_back(GV);
}
// fallthrough
OpenPOWER on IntegriCloud