forked from OSchip/llvm-project
Added parameter IntRegSize for standard general-purpose register size.
llvm-svn: 2652
This commit is contained in:
parent
c479fd5cd9
commit
18d5a88024
|
@ -38,11 +38,13 @@ public:
|
|||
|
||||
protected:
|
||||
TargetMachine(const std::string &targetname, // Can only create subclasses...
|
||||
unsigned char IntRegSize = 8,
|
||||
unsigned char PtrSize = 8, unsigned char PtrAl = 8,
|
||||
unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
|
||||
unsigned char LongAl = 8, unsigned char IntAl = 4,
|
||||
unsigned char ShortAl = 2, unsigned char ByteAl = 1)
|
||||
: TargetName(targetname), DataLayout(targetname, PtrSize, PtrAl,
|
||||
: TargetName(targetname), DataLayout(targetname, IntRegSize,
|
||||
PtrSize, PtrAl,
|
||||
DoubleAl, FloatAl, LongAl, IntAl,
|
||||
ShortAl, ByteAl) { }
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue