summaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-16 18:24:38 +0000
committerChris Lattner <sabre@nondot.org>2006-06-16 18:24:38 +0000
commit426b782a92537449bec985c57413167860f4731b (patch)
treeee405ff70164a77d01b438e6211c1ccea0574bd8 /lib/ExecutionEngine
parent831b1210390b3a00f68de9a79be0f4e13d6287b0 (diff)
downloadexternal_llvm-426b782a92537449bec985c57413167860f4731b.zip
external_llvm-426b782a92537449bec985c57413167860f4731b.tar.gz
external_llvm-426b782a92537449bec985c57413167860f4731b.tar.bz2
Simplify TargetData ctor call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 35f7c86..78e7a3c 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -58,7 +58,7 @@ ExecutionEngine *Interpreter::create(ModuleProvider *MP) {
//===----------------------------------------------------------------------===//
// Interpreter ctor - Initialize stuff
//
-Interpreter::Interpreter(Module *M) : ExecutionEngine(M), TD("lli", M) {
+Interpreter::Interpreter(Module *M) : ExecutionEngine(M), TD(M) {
memset(&ExitValue, 0, sizeof(ExitValue));
setTargetData(&TD);