aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CBackend/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-23 21:23:35 +0000
committerChris Lattner <sabre@nondot.org>2004-05-23 21:23:35 +0000
commit99c59e8e217cd08bc53f7a260dce6c7a66b583f9 (patch)
treee04ef5a1b13646f2e76d05677c5b97ceb75c9777 /lib/Target/CBackend/Writer.cpp
parentdf04097f87485ef2c0036d1f42208aa6c4d7575c (diff)
downloadexternal_llvm-99c59e8e217cd08bc53f7a260dce6c7a66b583f9.zip
external_llvm-99c59e8e217cd08bc53f7a260dce6c7a66b583f9.tar.gz
external_llvm-99c59e8e217cd08bc53f7a260dce6c7a66b583f9.tar.bz2
Add support for accurate garbage collection to the LLVM code generators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/Writer.cpp')
-rw-r--r--lib/Target/CBackend/Writer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp
index 6e536f0..222fc82 100644
--- a/lib/Target/CBackend/Writer.cpp
+++ b/lib/Target/CBackend/Writer.cpp
@@ -1498,6 +1498,7 @@ void CWriter::visitVAArgInst(VAArgInst &I) {
//===----------------------------------------------------------------------===//
bool CTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &o) {
+ PM.add(createLowerGCPass());
PM.add(createLowerAllocationsPass());
PM.add(createLowerInvokePass());
PM.add(new CBackendNameAllUsedStructs());