PR tidy-ups

This commit is contained in:
Brian Carroll 2021-09-28 23:16:34 +01:00
parent 93448182e4
commit 7ea59ad9d4
5 changed files with 41 additions and 29 deletions

View file

@ -111,7 +111,10 @@ impl SymbolStorage {
(ValueType::F32, 4) => F32Store(ALIGN_4, to_offset),
(ValueType::F64, 8) => F64Store(ALIGN_8, to_offset),
_ => {
return Err(format!("Cannot store {:?} with alignment of {:?}", value_type, size));
return Err(format!(
"Cannot store {:?} with alignment of {:?}",
value_type, size
));
}
};
instructions.push(GetLocal(to_pointer.0));