summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
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
commit6c79005b0def1bf2821edc42be0d26bacf392e6a (patch)
tree09ac30749be8f027cd6246ffb03b2d98558a66fa /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parent16cf81306ec37bf8a8a2038394ddb003c7b3c1c6 (diff)
downloadbcm5719-llvm-6c79005b0def1bf2821edc42be0d26bacf392e6a.tar.gz
bcm5719-llvm-6c79005b0def1bf2821edc42be0d26bacf392e6a.zip
Simplify TargetData ctor call
llvm-svn: 28832
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 35f7c86a8d9..78e7a3c8922 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud