From 98938f83d52e01b10e34f9fc6db55e4787fa3dad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Apr 2003 06:05:57 +0000 Subject: [PATCH] Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5935 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86TargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 4113d0e6dc8..be0102f9338 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -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) { } -- 2.34.1