aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetMachineImpls.h8
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