From: Chris Lattner Date: Fri, 13 Feb 2004 23:36:03 +0000 (+0000) Subject: Make sure to provide a prototype for the cbackend X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ff9a8639a526ec4c7bb86588c6154645bcdfbca;p=oota-llvm.git Make sure to provide a prototype for the cbackend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11419 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetMachineImpls.h b/include/llvm/Target/TargetMachineImpls.h index 66124b10b48..f1445d168ba 100644 --- a/include/llvm/Target/TargetMachineImpls.h +++ b/include/llvm/Target/TargetMachineImpls.h @@ -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