There was an error while loading. Please reload this page.
1 parent ef8ebbf commit 0962c17Copy full SHA for 0962c17
1 file changed
zjit/src/jit_frame.rs
@@ -317,12 +317,7 @@ mod tests {
317
}
318
319
// Same displaced cfp->sp, but reaching across an inlined frame: `defined?`
320
- // calls respond_to_missing? with 2 args, which raises on arity. The map for
321
- // the inlined `inner` frame keeps going past its frame gap into `outer`'s
322
- // operand stack, so a displaced anchor writes `outer`'s live 1 above its
323
- // slot and leaves the real one holding garbage. Giving `inner` a local
324
- // pushes that garbage into env data instead, which crashes rather than
325
- // returning a wrong answer.
+ // calls respond_to_missing? with 2 args, which raises on arity.
326
#[test]
327
fn test_stack_map_anchor_with_inlined_frame() {
328
assert_snapshot!(inspect(r#"
0 commit comments