(program: &[i64])
| 19 | |
| 20 | impl IntCoder { |
| 21 | pub fn new(program: &[i64]) -> Self { |
| 22 | Self { |
| 23 | ram: program.into(), |
| 24 | input: VecDeque::new(), |
| 25 | rel_base: 0, |
| 26 | pc: 0 |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | pub fn execute(&mut self) -> ExitCode { |
| 31 | loop { |
nothing calls this directly
no outgoing calls
no test coverage detected