From 8ff9a8639a526ec4c7bb86588c6154645bcdfbca Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Feb 2004 23:36:03 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetMachineImpls.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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