Skip to content

Add support for tail recursive methods that return void #6

@danielbodart

Description

@danielbodart

The current implementation does not support methods that return void, this is because the current bytecode assumes a return instruction while void methods use a slightly different return instruction.

Note we may also need to pop off any unused state from the stack, though my limited testing doesn't show any problems in modern jvms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions