rename lir lifetimes

This commit is contained in:
nora 2022-04-16 22:21:19 +02:00
parent 5fc5c49dff
commit d0718adf7f
4 changed files with 13 additions and 17 deletions

View file

@ -12,8 +12,8 @@ type Memory = [Wrapping<u8>; MEM_SIZE];
// `repr(C)` to make sure rustc never reorders the fields weirdly
// maybe useless, but seems to give tiny wins
#[repr(C)]
struct Interpreter<'c, W, R, P> {
code: &'c Lir<'c>,
struct Interpreter<'lir, W, R, P> {
code: &'lir Lir<'lir>,
profile_collector: P,
ip: usize,
ptr: usize,