Skip to content

Commit ef8ebbf

Browse files
committed
revert unchanged jit_frame_slot_offset comment hunk
1 parent 1a46155 commit ef8ebbf

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

zjit/src/codegen.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3259,9 +3259,8 @@ pub(crate) fn block_iseq_may_throw(iseq: IseqPtr) -> bool {
32593259
/// Byte offset from NATIVE_BASE_PTR of the JITFrame storage slot for a frame at
32603260
/// the given inlining depth. Depth 0 (the top-level frame) lives at
32613261
/// `[NATIVE_BASE_PTR - 8]`; each deeper inlined frame gets the next slot below.
3262-
/// gen_function() reserves `inlining_depth() + 1` of these, so every live
3263-
/// frame's depth maps to a distinct slot, followed by the single saved-SP slot
3264-
/// of base_ptr_slot_offset().
3262+
/// gen_function() reserves `inlining_depth() + 1` slots, so every live frame's
3263+
/// depth maps to a distinct slot inside that reserved region.
32653264
fn jit_frame_slot_offset(depth: InlineDepth) -> i32 {
32663265
-(SIZEOF_VALUE_I32 * (depth as i32 + 1))
32673266
}

0 commit comments

Comments
 (0)