Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Provide a way of checking code coverage #11

@rogerbinns

Description

@rogerbinns

From rogerbinns on February 28, 2012 22:04:40

I'd like to check that testing covers all my code.

To avoid a check on every instruction dispatch the best thing to do is to use a TRACE instruction at the beginning of each basic block. There are two ways to get it there.

  1. As an option to jmp-compile which changes emitted code
  2. Save the original instruction in a lookaside and execute it after TRACE accounting. This would make jmp code larger and ideally needs a goto to the top of the dispatch switch, but java doesn't have goto.

Original issue: http://code.google.com/p/java-mini-python/issues/detail?id=11

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions