We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc4a929 commit f11a4d2Copy full SHA for f11a4d2
1 file changed
zjit/src/codegen.rs
@@ -3201,7 +3201,7 @@ impl IseqCall {
3201
3202
/// Regenerate a IseqCall with a given callback
3203
fn regenerate(&self, cb: &mut CodeBlock, callback: impl Fn(&mut Assembler)) {
3204
- cb.with_write_ptr(self.start_addr.get().unwrap(), |cb| {
+ cb.with_write_ptr(self.start_addr.get().expect("expected a start address"), |cb| {
3205
let mut asm = Assembler::new();
3206
asm.new_block_without_id();
3207
callback(&mut asm);
0 commit comments