Skip to content

Refactor JumpDetector #148

@laike9m

Description

@laike9m

Jump instructions and other instructions are very different. Right now we have to pass a jumped indicator to the value stack, which is very weird. An instruction should either be handled by JumpDetector, or ValueStack.

Potentially, move jump detector to its own file, and let it hold the same value stack. Move jump instruction handlers to jump detector. let it call value stack's pop when needed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions