From 831b1210390b3a00f68de9a79be0f4e13d6287b0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 16 Jun 2006 18:23:49 +0000 Subject: 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 --- tools/gccld/GenerateCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gccld') diff --git a/tools/gccld/GenerateCode.cpp b/tools/gccld/GenerateCode.cpp index 967fbf0b80..fc674f7088 100644 --- a/tools/gccld/GenerateCode.cpp +++ b/tools/gccld/GenerateCode.cpp @@ -207,7 +207,7 @@ int llvm::GenerateBytecode(Module *M, int StripLevel, bool Internalize, if (Verify) 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 -- cgit v1.2.3