Fix typo in machine.

This commit is contained in:
losfair
2019-06-08 22:56:13 +08:00
parent 1477062474
commit 61786a370a

View File

@ -427,11 +427,11 @@ mod test {
#[test]
fn test_release_locations_keep_state_nopanic() {
let mut mechine = Machine::new();
let mut machine = Machine::new();
let mut assembler = Assembler::new().unwrap();
let locs = mechine.acquire_locations(&mut assembler, &[WpType::I32; 10], false);
let locs = machine.acquire_locations(&mut assembler, &[WpType::I32; 10], false);
mechine.release_locations_keep_state(&mut assembler, &locs);
machine.release_locations_keep_state(&mut assembler, &locs);
}
}