diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-09-10 17:04:11 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-09-10 18:21:54 -0400 |
| commit | 1b9fc426bbf6b6ca83ef6301f7a11f3fb7cc4f84 (patch) | |
| tree | 6cd8297bcef2dc2ad1b68798642a7ea4398c2b16 | |
| parent | bd4de1245f9899463a817d43863bcee520741e50 (diff) | |
YJIT: Remove dead code: `asm_comment!` checks `--yjit-dump-disasm`
| -rw-r--r-- | yjit/src/codegen.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index cd057359ac..2ab45f41db 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -1094,11 +1094,7 @@ pub fn gen_entry_prologue( let code_ptr = cb.get_write_ptr(); let mut asm = Assembler::new(unsafe { get_iseq_body_local_table_size(iseq) }); - if get_option_ref!(dump_disasm).is_some() { - asm_comment!(asm, "YJIT entry point: {}", iseq_get_location(iseq, 0)); - } else { - asm_comment!(asm, "YJIT entry"); - } + asm_comment!(asm, "YJIT entry point: {}", iseq_get_location(iseq, 0)); asm.frame_setup(); |
