mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8!
llvm-svn: 5935
This commit is contained in:
parent
658693c26d
commit
844b1148f4
@ -37,6 +37,7 @@ X86TargetMachine::X86TargetMachine(unsigned Config)
|
||||
(Config & TM::EndianMask) == TM::LittleEndian,
|
||||
1, 4,
|
||||
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4,
|
||||
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4,
|
||||
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4),
|
||||
FrameInfo(TargetFrameInfo::StackGrowsDown, 8/*16 for SSE*/, 4) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user