[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun May 23 16:25:01 PDT 2004


Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.54 -> 1.55

---
Log message:

Add support for accurate garbage collection to the LLVM code generators


---
Diffs of the changes:  (+5 -0)

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.54 llvm/lib/Target/X86/X86TargetMachine.cpp:1.55
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.54	Tue Apr  6 14:34:00 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Sun May 23 16:23:35 2004
@@ -59,6 +59,9 @@
 // does to emit statically compiled machine code.
 bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
 					       std::ostream &Out) {
+  // FIXME: Implement efficient support for garbage collection intrinsics.
+  PM.add(createLowerGCPass());
+
   // FIXME: Implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());
 
@@ -117,6 +120,8 @@
 /// not supported for this target.
 ///
 void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
+  // FIXME: Implement efficient support for garbage collection intrinsics.
+  PM.add(createLowerGCPass());
 
   // FIXME: Implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());





More information about the llvm-commits mailing list