diff options
| -rw-r--r-- | yjit/src/stats.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 00197effe6..91ecc8209b 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -612,7 +612,7 @@ fn get_live_context_count() -> usize { /// and line samples. Their length should be the same, however the data stored in /// them is different. #[no_mangle] -pub extern "C" fn rb_yjit_record_exit_stack(exit_pc: *const VALUE) +pub extern "C" fn rb_yjit_record_exit_stack(_exit_pc: *const VALUE) { // Return if YJIT is not enabled if !yjit_enabled_p() { @@ -644,7 +644,7 @@ pub extern "C" fn rb_yjit_record_exit_stack(exit_pc: *const VALUE) #[cfg(not(test))] { // Get the opcode from the encoded insn handler at this PC - let insn = unsafe { rb_vm_insn_addr2opcode((*exit_pc).as_ptr()) }; + let insn = unsafe { rb_vm_insn_addr2opcode((*_exit_pc).as_ptr()) }; // Use the same buffer size as Stackprof. const BUFF_LEN: usize = 2048; |
