mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
Implement new constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80b90cd191
commit
167deff938
@ -52,6 +52,13 @@ TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
|
||||
IntAl, ShortAl, ByteAl, BoolAl) {
|
||||
IL = il ? il : new DefaultIntrinsicLowering();
|
||||
}
|
||||
|
||||
TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
|
||||
const TargetData &TD)
|
||||
: Name(name), DataLayout(TD) {
|
||||
IL = il ? il : new DefaultIntrinsicLowering();
|
||||
}
|
||||
|
||||
TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
|
||||
const Module &M)
|
||||
: Name(name), DataLayout(name, &M) {
|
||||
|
Loading…
Reference in New Issue
Block a user