[code-reflection] RFR: Simplify Interpreter invocation

Paul Sandoz psandoz at openjdk.org
Thu Oct 31 23:59:18 UTC 2024


The overloaded `Interpreter.invoke` methods are reduced to just two methods. If the invokeable operation captures values then corresponding captured arguments must be appended, in order, to the list of arguments for invocation (those correspond to the invokeable operation's parameter, in order).

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

Commit messages:
 - Reduce Interpreter invoke methods.
 - Simplify interpreter entry points

Changes: https://git.openjdk.org/babylon/pull/271/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=271&range=00
  Stats: 419 lines in 33 files changed: 153 ins; 68 del; 198 mod
  Patch: https://git.openjdk.org/babylon/pull/271.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/271/head:pull/271

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


More information about the babylon-dev mailing list