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:
Chris Lattner
2006-06-16 18:23:49 +00:00
parent 1790d44d0d
commit 831b121039
9 changed files with 9 additions and 9 deletions

View File

@@ -80,7 +80,7 @@ Module *BugDriver::deleteInstructionFromProgram(const Instruction *I,
// Spiff up the output a little bit.
PassManager Passes;
// Make sure that the appropriate target data is always used...
Passes.add(new TargetData("bugpoint", Result));
Passes.add(new TargetData(Result));
/// FIXME: If this used runPasses() like the methods below, we could get rid
/// of the -disable-* options!