Skip to content

Commit c866b90

Browse files
XrXrk0kubun
authored andcommitted
YJIT: Remove dead code: asm_comment! checks --yjit-dump-disasm
1 parent ecebf16 commit c866b90

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

yjit/src/codegen.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,11 +1094,7 @@ pub fn gen_entry_prologue(
10941094
let code_ptr = cb.get_write_ptr();
10951095

10961096
let mut asm = Assembler::new(unsafe { get_iseq_body_local_table_size(iseq) });
1097-
if get_option_ref!(dump_disasm).is_some() {
1098-
asm_comment!(asm, "YJIT entry point: {}", iseq_get_location(iseq, 0));
1099-
} else {
1100-
asm_comment!(asm, "YJIT entry");
1101-
}
1097+
asm_comment!(asm, "YJIT entry point: {}", iseq_get_location(iseq, 0));
11021098

11031099
asm.frame_setup();
11041100

0 commit comments

Comments
 (0)