Skip to content

Commit 6dbfe09

Browse files
committed
fix stuff on x86
1 parent e37c9a3 commit 6dbfe09

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

zjit/src/backend/x86_64/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,12 +1173,13 @@ impl Assembler {
11731173
println!("VReg assignments:");
11741174
for (i, alloc) in assignments.iter().enumerate() {
11751175
if let Some(alloc) = alloc {
1176-
let range = &intervals[i].range;
1176+
let start = &intervals[i].start();
1177+
let end = &intervals[i].end();
11771178
let alloc_str = match alloc {
11781179
Allocation::Reg(n) => format!("{}", regs[*n]),
11791180
Allocation::Stack(n) => format!("Stack[{}]", n),
11801181
};
1181-
println!(" v{} => {} (range: {:?}..{:?})", i, alloc_str, range.start, range.end);
1182+
println!(" v{} => {} (range: {:?}..{:?})", i, alloc_str, start, end);
11821183
}
11831184
}
11841185
}

0 commit comments

Comments
 (0)