[code-reflection] Integrated: Test for creating a module of functions from invocations

Paul Sandoz psandoz at openjdk.org
Tue May 28 18:27:30 UTC 2024


On Tue, 21 May 2024 21:27:50 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Given a set of reflectable methods that form a call graph, we can create a code model that is a module operation containing the functions in that graph where invocation operations are replaced with function call operations.
> Starting from the a model of a method, we can traverse it for invocation operations. If the invocation operation's method reference can be resolved to a method and the method has a model then that model is added to the module, the invocation operation is replaced with a function call operation, and it is traversed for invocation operations and so on.

This pull request has now been integrated.

Changeset: 4bdc86cf
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/4bdc86cf4a7090fc2cf44bae4cc9e4cc3fb952da
Stats:     164 lines in 3 files changed: 147 ins; 1 del; 16 mod

Test for creating a module of functions from invocations

-------------

PR: https://git.openjdk.org/babylon/pull/81


More information about the babylon-dev mailing list