diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-13 23:36:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-13 23:36:03 +0000 |
commit | 8ff9a8639a526ec4c7bb86588c6154645bcdfbca (patch) | |
tree | 0cf7ff46e40b9b6a249bb9774058fb3b1a908e94 | |
parent | aa82943a1dac05a24ecca8322011b7af281405f6 (diff) |
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
-rw-r--r-- | include/llvm/Target/TargetMachineImpls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachineImpls.h b/include/llvm/Target/TargetMachineImpls.h index 66124b10b4..f1445d168b 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 |