Open pliniker opened 4 years ago
The TaggedPtr type allows for size_of::<isize>() * 8 - 2 bits of integer to be stored in a pointer.
TaggedPtr
size_of::<isize>() * 8 - 2
Support for numbers needs to be implemented:
+
-
div
*
This initial implementation should return RuntimeError for values and results that fall outside of the supported TaggedPtr range.
RuntimeError
A short chapter of the book might be written to describe this.
Consider splitting this issue into multiple issues to break it up, perhaps an issue for each area of the code and one for documentation.
The
TaggedPtr
type allows forsize_of::<isize>() * 8 - 2
bits of integer to be stored in a pointer.Support for numbers needs to be implemented:
+
,-
, integerdiv
,*
) opcodesThis initial implementation should return
RuntimeError
for values and results that fall outside of the supportedTaggedPtr
range.A short chapter of the book might be written to describe this.
Consider splitting this issue into multiple issues to break it up, perhaps an issue for each area of the code and one for documentation.