mirror of
https://github.com/Noratrieb/brainfuck.git
synced 2026-01-16 22:35:03 +01:00
rename lir lifetimes
This commit is contained in:
parent
5fc5c49dff
commit
d0718adf7f
4 changed files with 13 additions and 17 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue