mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
Oups, fix assertion condition in disabled code from rev [1351].
This commit is contained in:
parent
b147ecc66d
commit
a0678dc9ec
1 changed files with 1 additions and 1 deletions
|
@ -1465,7 +1465,7 @@ size_t realignOffset(size_t offset, Type* type)
|
||||||
|
|
||||||
if (alignsize != alignsize2)
|
if (alignsize != alignsize2)
|
||||||
{
|
{
|
||||||
assert(alignsize > alignsize2 && "this is not good, the D and LLVM "
|
assert(alignsize2 > alignsize && "this is not good, the D and LLVM "
|
||||||
"type alignments differ, but LLVM's is bigger! This will break "
|
"type alignments differ, but LLVM's is bigger! This will break "
|
||||||
"the type mapping algorithms");
|
"the type mapping algorithms");
|
||||||
// don't try and align the offset, and let the mappers pad 100% manually
|
// don't try and align the offset, and let the mappers pad 100% manually
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue