mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
Cargo fmt
This commit is contained in:
parent
9edd9ffdfe
commit
1582224d61
@ -141,7 +141,11 @@ impl ModuleStateMap {
|
||||
}
|
||||
}
|
||||
}
|
||||
pub fn lookup_call_ip(&self, ip: usize, base: usize) -> Option<(&FunctionStateMap, MachineState)> {
|
||||
pub fn lookup_call_ip(
|
||||
&self,
|
||||
ip: usize,
|
||||
base: usize,
|
||||
) -> Option<(&FunctionStateMap, MachineState)> {
|
||||
self.lookup_ip(ip, base, |fsm| &fsm.call_offsets)
|
||||
}
|
||||
|
||||
@ -155,7 +159,11 @@ impl ModuleStateMap {
|
||||
}
|
||||
|
||||
#[warn(dead_code)]
|
||||
pub fn lookup_loop_ip(&self, ip: usize, base: usize) -> Option<(&FunctionStateMap, MachineState)> {
|
||||
pub fn lookup_loop_ip(
|
||||
&self,
|
||||
ip: usize,
|
||||
base: usize,
|
||||
) -> Option<(&FunctionStateMap, MachineState)> {
|
||||
self.lookup_ip(ip, base, |fsm| &fsm.loop_offsets)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user