From: Misha Brukman Date: Tue, 10 Aug 2004 23:10:21 +0000 (+0000) Subject: Add new constructor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80b90cd1914ced00a58ed9ac4b9dce06e573c8eb;p=oota-llvm.git Add new constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 8a2777f47ca..3455443e3bc 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -54,6 +54,9 @@ protected: // Can only create subclasses... unsigned char ShortAl = 2, unsigned char ByteAl = 1, unsigned char BoolAl = 1); + TargetMachine(const std::string &name, IntrinsicLowering *IL, + const TargetData &TD); + /// This constructor is used for targets that support arbitrary TargetData /// layouts, like the C backend. It initializes the TargetData to match that /// of the specified module.