mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Added parameter IntRegSize for standard general-purpose register size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c864fde15c
commit
14e3c44486
@ -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
Block a user