mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +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) {
|
IntAl, ShortAl, ByteAl, BoolAl) {
|
||||||
IL = il ? il : new DefaultIntrinsicLowering();
|
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,
|
TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
|
||||||
const Module &M)
|
const Module &M)
|
||||||
: Name(name), DataLayout(name, &M) {
|
: Name(name), DataLayout(name, &M) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user