diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-16 23:02:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-16 23:02:16 +0000 |
commit | 0af1e8e3a41285772d2a8d0f26c139cf5332dde3 (patch) | |
tree | be3d47cf2331776ed619797111006942352d3965 /tools/opt | |
parent | f5653226b57273a5f065312933015b5dbc66b067 (diff) |
Don't support codegen passes in opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 6633dd18cb..f59a80182e 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -125,8 +125,10 @@ int main(int argc, char **argv) { else if (Opt->getDataCtor()) Passes.add(Opt->getDataCtor()(TD)); // Provide dummy target data... else if (Opt->getTargetCtor()) { +#if 0 if (target.get() == NULL) target.reset(allocateSparcTargetMachine()); // FIXME: target option +#endif assert(target.get() && "Could not allocate target machine!"); Passes.add(Opt->getTargetCtor()(*target.get())); } else |