aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-24 18:36:41 +0000
committerChris Lattner <sabre@nondot.org>2003-04-24 18:36:41 +0000
commitc986392c30043c056608b06ddf2f10fdd35a8d5e (patch)
tree56c8b107398978f46ebffa18e4ae5467a3551182 /tools/llc/llc.cpp
parentec8aae3e11b6283040618fee0d0c9dccea1cf81a (diff)
downloadexternal_llvm-c986392c30043c056608b06ddf2f10fdd35a8d5e.zip
external_llvm-c986392c30043c056608b06ddf2f10fdd35a8d5e.tar.gz
external_llvm-c986392c30043c056608b06ddf2f10fdd35a8d5e.tar.bz2
Remove support for "target data" pass ctors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 15a272b..fe1b89f 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -200,8 +200,6 @@ main(int argc, char **argv)
{ // handle other passes as normal optimization passes
if (Opt->getNormalCtor())
Passes.add(Opt->getNormalCtor()());
- else if (Opt->getDataCtor())
- Passes.add(Opt->getDataCtor()(Target.getTargetData()));
else if (Opt->getTargetCtor())
Passes.add(Opt->getTargetCtor()(Target));
else