[llvm-commits] CVS: llvm/tools/llc/llc.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 28 14:01:01 PST 2002
Changes in directory llvm/tools/llc:
llc.cpp updated: 1.63 -> 1.64
---
Log message:
Eliminate direct access to TargetData structure
---
Diffs of the changes:
Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.63 llvm/tools/llc/llc.cpp:1.64
--- llvm/tools/llc/llc.cpp:1.63 Tue Oct 29 15:48:33 2002
+++ llvm/tools/llc/llc.cpp Sat Dec 28 14:00:00 2002
@@ -201,7 +201,7 @@
if (Opt->getNormalCtor())
Passes.add(Opt->getNormalCtor()());
else if (Opt->getDataCtor())
- Passes.add(Opt->getDataCtor()(Target.DataLayout));
+ Passes.add(Opt->getDataCtor()(Target.getTargetData()));
else if (Opt->getTargetCtor())
Passes.add(Opt->getTargetCtor()(Target));
else
More information about the llvm-commits
mailing list