mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
clippy
This commit is contained in:
parent
2bd67a3292
commit
5f5a535aaf
2 changed files with 2 additions and 5 deletions
|
@ -166,9 +166,6 @@ impl<'a> ExecutionState<'a> {
|
||||||
let offset = self.fetch_immediate_u32(module);
|
let offset = self.fetch_immediate_u32(module);
|
||||||
let value = self.value_stack.pop();
|
let value = self.value_stack.pop();
|
||||||
let base_addr = self.value_stack.pop_u32();
|
let base_addr = self.value_stack.pop_u32();
|
||||||
|
|
||||||
dbg!(base_addr, offset);
|
|
||||||
|
|
||||||
let addr = (base_addr + offset) as usize;
|
let addr = (base_addr + offset) as usize;
|
||||||
(addr, value)
|
(addr, value)
|
||||||
}
|
}
|
||||||
|
|
|
@ -506,9 +506,9 @@ fn test_store<'a>(
|
||||||
});
|
});
|
||||||
|
|
||||||
let mut state =
|
let mut state =
|
||||||
ExecutionState::for_module(&arena, &module, start_fn_name, is_debug_mode).unwrap();
|
ExecutionState::for_module(arena, module, start_fn_name, is_debug_mode).unwrap();
|
||||||
|
|
||||||
while let Action::Continue = state.execute_next_instruction(&module) {}
|
while let Action::Continue = state.execute_next_instruction(module) {}
|
||||||
|
|
||||||
state.memory
|
state.memory
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue