AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
151 stars 15 forks source link

sizeof #7

Closed RalfJung closed 8 years ago

RalfJung commented 9 years ago

Es wäre echt praktisch, wenn wir einen sizeof-Operator bekommen könnten. Momentan berechnen wir die Größen diverser Structs (inklusive Padding) von Hand, das ist durchaus ziemlich fehleranfällig.

leissa commented 8 years ago

sizeof is now supported.

richardmembarth commented 8 years ago

Thorin segfaults as soon as code that contains sizeof is PEd or if sizeof is used after a code block that triggered PE.

leissa commented 8 years ago

I consider that a different issue but as I'm too lazy to open a new one, let's track it here :)