From 3ce90291620a188e60ba9a868a8812882a83cd48 Mon Sep 17 00:00:00 2001 From: sergeych Date: Mon, 9 Feb 2026 22:01:02 +0300 Subject: [PATCH] Mark step 25 complete --- bytecode_migration_plan.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bytecode_migration_plan.md b/bytecode_migration_plan.md index 09909f8..df29fd0 100644 --- a/bytecode_migration_plan.md +++ b/bytecode_migration_plan.md @@ -87,10 +87,10 @@ Goal: migrate the compiler so all values live in frames/bytecode, keeping JVM te ## Interpreter Removal (next) -- [ ] Step 25: Replace Statement-based declaration calls in bytecode. - - [ ] Add bytecode const/op for class/enum/function declarations (no `Statement` objects in constants). - - [ ] Replace `emitStatementCall` usage for `ClassDeclStatement`, `FunctionDeclStatement`, `EnumDeclStatement`. - - [ ] Add JVM disasm coverage to ensure module init has no `CALL_SLOT` to `Callable@...` for declarations. +- [x] Step 25: Replace Statement-based declaration calls in bytecode. + - [x] Add bytecode const/op for class/enum/function declarations (no `Statement` objects in constants). + - [x] Replace `emitStatementCall` usage for `ClassDeclStatement`, `FunctionDeclStatement`, `EnumDeclStatement`. + - [x] Add JVM disasm coverage to ensure module init has no `CALL_SLOT` to `Callable@...` for declarations. - [ ] Step 26: Bytecode-backed lambdas (remove `ValueFnRef` runtime execution). - [ ] Compile lambda bodies to bytecode and emit an opcode to create a callable from bytecode + capture plan. - [ ] Remove `containsValueFnRef`/`forceScopeSlots` workaround once lambdas are bytecode.