[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachineImpls.h

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 13 17:37:01 PST 2004


Changes in directory llvm/include/llvm/Target:

TargetMachineImpls.h updated: 1.9 -> 1.10

---
Log message:

Make sure to provide a prototype for the cbackend


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

Index: llvm/include/llvm/Target/TargetMachineImpls.h
diff -u llvm/include/llvm/Target/TargetMachineImpls.h:1.9 llvm/include/llvm/Target/TargetMachineImpls.h:1.10
--- llvm/include/llvm/Target/TargetMachineImpls.h:1.9	Mon Feb  2 13:05:08 2004
+++ llvm/include/llvm/Target/TargetMachineImpls.h	Fri Feb 13 17:36:03 2004
@@ -21,6 +21,14 @@
   class Module;
   class IntrinsicLowering;
   
+  // allocateCTargetMachine - Allocate and return a subclass of TargetMachine
+  // that implements emits C code.  This takes ownership of the
+  // IntrinsicLowering pointer, deleting it when the target machine is
+  // destroyed.
+  //
+  TargetMachine *allocateCTargetMachine(const Module &M,
+                                        IntrinsicLowering *IL = 0);
+
   // allocateSparcTargetMachine - Allocate and return a subclass of
   // TargetMachine that implements the Sparc backend.  This takes ownership of
   // the IntrinsicLowering pointer, deleting it when the target machine is





More information about the llvm-commits mailing list