[code-reflection] Withdrawn: Model verifier
Adam Sotona
asotona at openjdk.org
Fri Oct 18 10:12:16 UTC 2024
On Wed, 2 Oct 2024 15:09:05 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> This patch starts work on model `Verifier` and implements following verifications:
> - operands declaration dominance
> - `BranchOp` reference arguments matching target block parameters (simple matching by `TypeKind` with erased `int` sub-types)
> - `ArithmeticOperation`, `TestOperation` and `ConvOp` verified presence of relevant method handler in `InvokableLeafOps`
>
> `TestSmallCorpus` is improved to verify code model.
>
> Fixes of bugs newly discovered by the `TestSmallCorpus`:
> - missing methods in `InvokableLeafOps`
> - `Interpreter` use of provided lookup for `resolveToMethodType`
> - `Interpreter` erase sub-`int` types for `InvokeOp` execution + added `TestLiftCustomBytecode::testEraseInts`
> - Removed complex sub-`int` types calculation from `BytecodeLift` and `LocalsToVarMapper`
> - `BytecodeLift` fixed to avoid production of some obsolete block parameters
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/babylon/pull/247
More information about the babylon-dev
mailing list