diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-16 18:23:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-16 18:23:49 +0000 |
commit | 831b1210390b3a00f68de9a79be0f4e13d6287b0 (patch) | |
tree | bac1e76f3e38d559f3201bb03267b2ac3a0487e5 /tools/llvm-ld/Optimize.cpp | |
parent | 1790d44d0dbe3412e012be5e43b89e67064bdb86 (diff) |
Don't pass target name into TargetData anymore, it is never used or needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld/Optimize.cpp')
-rw-r--r-- | tools/llvm-ld/Optimize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/Optimize.cpp b/tools/llvm-ld/Optimize.cpp index 592b622586..b61e8ef7db 100644 --- a/tools/llvm-ld/Optimize.cpp +++ b/tools/llvm-ld/Optimize.cpp @@ -102,7 +102,7 @@ void Optimize(Module* M) { Passes.add(createVerifierPass()); // Add an appropriate TargetData instance for this module... - addPass(Passes, new TargetData("gccld", M)); + addPass(Passes, new TargetData(M)); // Often if the programmer does not specify proper prototypes for the // functions they are calling, they end up calling a vararg version of the |