Hi guys,<br><br>Does getPointerSizeInBits need to return sizeof(void*) in Platform?<br>I found that getPointerSizeInBits return 8 in x86-32 on win7-64, MSVC 2010.<br><br>And if I have a struct { i32, i32* }; the structLayout->getElementOffset(1) return 8, but I think 4 is right.<br>
In generated ASM, the offset of second element is 4.<br><br>Thanks.<br clear="all"><br>-- <br>Ye Wu<br>CELL: +86 159 9957 0103<br>