CodeusTech / CodeusTech/Xita

TypeSize() always reports 4 bytes

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
enhancement prebug
Dominant language
C++
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

(See [`TypeSize()` in Context Manager](https://github.com/CodeusTech/XCSL-AArch64/blob/PreAlpha-Dev/src/xcs/context/manager.h#L186))

Right now, the size of all types is `4`, because it was easiest to work with 32-bit integers in early testing. This should instead report the _actual_ size for the requested TypeID.

It is most efficient for this to stay `4` by default, but as the type's size grows beyond 8 bytes, this should update as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.