aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-25 23:47:49 +0000
committerChris Lattner <sabre@nondot.org>2002-09-25 23:47:49 +0000
commit1751b7ed27229d3fbcc48d6c42b05bf3beab36e5 (patch)
tree7e0c9eb7c34a9dddc9cff225600126ce4e500de9 /tools/llc
parent3b2106ff84a31e851b0a34e6a40846cdf3293800 (diff)
downloadexternal_llvm-1751b7ed27229d3fbcc48d6c42b05bf3beab36e5.zip
external_llvm-1751b7ed27229d3fbcc48d6c42b05bf3beab36e5.tar.gz
external_llvm-1751b7ed27229d3fbcc48d6c42b05bf3beab36e5.tar.bz2
Change LowerAllocations pass to 'require' TargetData instead of it being
passed in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 5aa88af..f524e32 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -220,7 +220,7 @@ main(int argc, char **argv)
// 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)