andreabergia/rjvm

Support long/double in the vm

Closed this issue · 1 comments

We only support int and float. Long/double are complex because they take two slots in the local variables, but we need to handle them.

Implemented them with a trick: the local variable table will contain a value of type long, and we will not care about the "wasted" slot.