mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 19:03:13 +01:00
Erm... Revert the rev [1352] change, the original code was correct ...
This commit is contained in:
@@ -1465,7 +1465,7 @@ size_t realignOffset(size_t offset, Type* type)
|
||||
|
||||
if (alignsize != alignsize2)
|
||||
{
|
||||
assert(alignsize2 > alignsize && "this is not good, the D and LLVM "
|
||||
assert(alignsize > alignsize2 && "this is not good, the D and LLVM "
|
||||
"type alignments differ, but LLVM's is bigger! This will break "
|
||||
"the type mapping algorithms");
|
||||
// don't try and align the offset, and let the mappers pad 100% manually
|
||||
|
||||
Reference in New Issue
Block a user