mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user