From 0af1e8e3a41285772d2a8d0f26c139cf5332dde3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 16 Apr 2003 23:02:16 +0000 Subject: [PATCH] Don't support codegen passes in opt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5797 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/opt/opt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 6633dd18cba..f59a80182e5 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 -- 2.34.1