Address comments

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-07-01 11:19:28 -04:00
1 parent d0fd065096
commit 4da665d3ba
9 files changed
+79 -134

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ impl<I: Iterator<Item = u32>> super::Parser<I> {
// done
let fun_handle = module.functions.append(fun);
self.lookup_function.insert(fun_id, fun_handle);
self.function_info.insert(fun_handle, function_info);
self.function_info.push(function_info);
if let Some(ep) = self.lookup_entry_point.remove(&fun_id) {
// create a wrapping function
let mut function = crate::Function {