Remove cek_resume debug tracing, rebuild WASM

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-17 13:08:43 +00:00
parent c641b445f8
commit 0e152721cc
3 changed files with 1287 additions and 1393 deletions

View File

@@ -629,18 +629,7 @@ and cek_run state =
(* cek-resume *)
and cek_resume suspended_state result' =
let env = cek_env suspended_state in
let kont = cek_kont suspended_state in
let kont_len = match kont with List l | ListRef { contents = l } -> List.length l | _ -> -1 in
let frame_type = match kont with
| List (CekFrame f :: _) | ListRef { contents = CekFrame f :: _ } -> f.cf_type
| _ -> "?" in
Printf.eprintf "[cek_resume] kont_len=%d frame0=%s result=%s step_count=%d step_limit=%d\n%!" kont_len frame_type (Sx_types.inspect result') !step_count !step_limit;
let state = make_cek_value result' env kont in
let final = cek_step_loop state in
let final_phase = match cek_phase final with String s -> s | _ -> "?" in
Printf.eprintf "[cek_resume] final phase=%s value=%s\n%!" final_phase (Sx_types.inspect (cek_value final));
final
(cek_step_loop ((make_cek_value (result') ((cek_env (suspended_state))) ((cek_kont (suspended_state))))))
(* cek-step *)
and cek_step state =