Retranspile + fix browser JIT hook: zero-patch verified

bootstrap.py produces correct output with no post-processing.
Browser sx_browser.ml updated to use Sx_runtime._jit_try_call_fn.
2566/2568 tests pass (2 pre-existing scope).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 15:39:38 +00:00
parent bd8d62cd9a
commit 41e76b886f
2 changed files with 8 additions and 16 deletions

View File

@@ -836,7 +836,7 @@ let _jit_compiling = ref false
let _jit_enabled = ref false
let () =
Sx_ref.jit_call_hook := Some (fun f args ->
Sx_runtime._jit_try_call_fn := Some (fun f args ->
match f with
| Lambda l when !_jit_enabled ->
(match l.l_compiled with

File diff suppressed because one or more lines are too long