mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-25 15:41:05 +00:00
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:
parent
831b121039
commit
426b782a92
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user