Remove FunctionBuilderContext from API, and change FunctionBuilder API
This commit is contained in:
@@ -533,8 +533,7 @@ impl<'data> ModuleEnvironment<'data> for DummyEnvironment {
|
||||
func.collect_debug_info();
|
||||
}
|
||||
self.trans
|
||||
.translate(body_bytes, body_offset, &mut func, &mut func_environ)?;
|
||||
func
|
||||
.translate(body_bytes, body_offset, func, &mut func_environ)?
|
||||
};
|
||||
self.func_bytecode_sizes.push(body_bytes.len());
|
||||
self.info.function_bodies.push(func);
|
||||
|
||||
Reference in New Issue
Block a user