mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
Alignment is now in bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
608034ec1a
commit
037d732e09
@ -133,8 +133,7 @@ void CodeGenTarget::ReadRegisterClasses() const {
|
||||
|
||||
CodeGenRegisterClass::CodeGenRegisterClass(Record *R) : TheDef(R) {
|
||||
SpillSize = R->getValueAsInt("Size");
|
||||
// FIXME: should convert to bits in all targets.
|
||||
SpillAlignment = R->getValueAsInt("Alignment")*8;
|
||||
SpillAlignment = R->getValueAsInt("Alignment");
|
||||
|
||||
if (CodeInit *CI = dynamic_cast<CodeInit*>(R->getValueInit("Methods")))
|
||||
MethodDefinitions = CI->getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user