summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExtractFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-16 18:23:49 +0000
committerChris Lattner <sabre@nondot.org>2006-06-16 18:23:49 +0000
commit16cf81306ec37bf8a8a2038394ddb003c7b3c1c6 (patch)
treeaaa5eebb12bbd51523ff44fbfd29032023746652 /llvm/tools/bugpoint/ExtractFunction.cpp
parentf3b5b92e5865913119da457fd0d11db1cfd87532 (diff)
downloadbcm5719-llvm-16cf81306ec37bf8a8a2038394ddb003c7b3c1c6.tar.gz
bcm5719-llvm-16cf81306ec37bf8a8a2038394ddb003c7b3c1c6.zip
Don't pass target name into TargetData anymore, it is never used or needed.
llvm-svn: 28831
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--llvm/tools/bugpoint/ExtractFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp
index afc1c64b7c4..2b12519ff30 100644
--- a/llvm/tools/bugpoint/ExtractFunction.cpp
+++ b/llvm/tools/bugpoint/ExtractFunction.cpp
@@ -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!
OpenPOWER on IntegriCloud