mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
A few fixes for 64bit
This commit is contained in:
parent
aa5dfdfd4d
commit
e921998d75
11 changed files with 45 additions and 25 deletions
|
@ -1592,9 +1592,9 @@ size_t realignOffset(size_t offset, Type* type)
|
|||
// if it differs we need to insert manual padding as well
|
||||
if (alignsize != alignsize2)
|
||||
{
|
||||
assert(alignsize > alignsize2 && "this is not good, the D and LLVM "
|
||||
"type alignments differ, but LLVM's is bigger! This will break "
|
||||
"aggregate type mapping");
|
||||
//assert(alignsize > alignsize2 && "this is not good, the D and LLVM "
|
||||
// "type alignments differ, but LLVM's is bigger! This will break "
|
||||
// "aggregate type mapping");
|
||||
// don't try and align the offset, and let the mappers pad 100% manually
|
||||
return offset;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue