YJIT: Fix assert in OOM scenario
We still need to do jit.record_boundary_patch_point = false when gen_outlined_exit() returns None and we return with ?. Previously, we tripped the assert at codegen.rs:1042.
jit.record_boundary_patch_point = false
None
?
Found with --yjit-exec-mem-size=3 on the lobsters benchmark.
--yjit-exec-mem-size=3
Co-authored-by: Takashi Kokubun takashikkbn@gmail.com Co-authored-by: Maxime Chevalier-Boisvert maxime.chevalierboisvert@shopify.com
YJIT: Fix assert in OOM scenario
We still need to do
jit.record_boundary_patch_point = falsewhen gen_outlined_exit() returns
Noneand we return with?.Previously, we tripped the assert at codegen.rs:1042.
Found with
--yjit-exec-mem-size=3on the lobsters benchmark.Co-authored-by: Takashi Kokubun takashikkbn@gmail.com
Co-authored-by: Maxime Chevalier-Boisvert maxime.chevalierboisvert@shopify.com