Elaborate on a TODO comment.

This commit is contained in:
Dan Gohman
2018-12-12 14:16:46 -08:00
parent 562a66cc27
commit 5c2395ee32

View File

@@ -147,7 +147,8 @@ impl InstancePlus {
assert_eq!(value.value_type(), signature.params[index].value_type);
}
// TODO: Support values larger than u64.
// TODO: Support values larger than u64. And pack the values into memory
// instead of just using fixed-sized slots.
let mut values_vec: Vec<u64> = Vec::new();
let value_size = mem::size_of::<u64>();
values_vec.resize(max(signature.params.len(), signature.returns.len()), 0u64);