Changes in directory llvm/tools/llc:
llc.cpp updated: 1.131 -> 1.132 --- Log message: Adjust to use proper TargetData copy ctor --- Diffs of the changes: (+1 -2) llc.cpp | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/tools/llc/llc.cpp diff -u llvm/tools/llc/llc.cpp:1.131 llvm/tools/llc/llc.cpp:1.132 --- llvm/tools/llc/llc.cpp:1.131 Tue May 2 20:29:57 2006 +++ llvm/tools/llc/llc.cpp Thu May 4 16:18:40 2006 @@ -143,11 +143,10 @@ std::auto_ptr<TargetMachine> target(MArch->CtorFn(mod, FeaturesStr)); assert(target.get() && "Could not allocate target machine!"); TargetMachine &Target = *target.get(); - const TargetData *TD = Target.getTargetData(); // Build up all of the passes that we want to do to the module... PassManager Passes; - Passes.add(new TargetData(TD)); + Passes.add(new TargetData(*Target.getTargetData())); #ifndef NDEBUG if(!NoVerify) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits