[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Sep 25 18:48:03 PDT 2002


Changes in directory llvm/tools/llc:

llc.cpp updated: 1.59 -> 1.60

---
Log message:

Change LowerAllocations pass to 'require' TargetData instead of it being
passed in.



---
Diffs of the changes:

Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.59 llvm/tools/llc/llc.cpp:1.60
--- llvm/tools/llc/llc.cpp:1.59	Thu Sep 19 11:06:28 2002
+++ llvm/tools/llc/llc.cpp	Wed Sep 25 18:47:49 2002
@@ -220,7 +220,7 @@
   // Replace malloc and free instructions with library calls.
   // Do this after tracing until lli implements these lib calls.
   // For now, it will emulate malloc and free internally.
-  Passes.add(createLowerAllocationsPass(Target.DataLayout));
+  Passes.add(createLowerAllocationsPass());
 
   // If LLVM dumping after transformations is requested, add it to the pipeline
   if (DumpAsm)





More information about the llvm-commits mailing list