Skip to content

Commit 39b844e

Browse files
committed
Tweak the comment on mark_all_executable() a little [ci skip]
1 parent ff77473 commit 39b844e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zjit/src/codegen.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ fn gen_iseq_entry_point(iseq: IseqPtr) -> *const u8 {
103103
let code_ptr = gen_iseq_entry_point_body(cb, iseq);
104104

105105
// Always mark the code region executable if asm.compile() has been used.
106-
// We need to do this even if code_ptr is null because, even if gen_entry()
107-
// or gen_iseq() fails, gen_function() has used asm.compile().
106+
// We need to do this even if code_ptr is null because, whether gen_entry()
107+
// or gen_iseq() fails or not, gen_function() has already used asm.compile().
108108
cb.mark_all_executable();
109109

110110
code_ptr

0 commit comments

Comments
 (0)