Make sure to provide a prototype for the cbackend
authorChris Lattner <sabre@nondot.org>
Fri, 13 Feb 2004 23:36:03 +0000 (23:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Feb 2004 23:36:03 +0000 (23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11419 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachineImpls.h

index 66124b10b483609480456d5e770504253ddcf3bc..f1445d168baafed9b33dea9e6b9141947a3ee978 100644 (file)
@@ -21,6 +21,14 @@ namespace llvm {
   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