Simplify TargetData ctor call

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-06-16 18:24:38 +00:00
parent 831b121039
commit 426b782a92

View File

@ -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);