Remove the finished_functions field in Instance
Turns out we don't actually need it anywhere any more! This removes an allocation when instantiating.
This commit is contained in:
@@ -36,7 +36,7 @@ pub(crate) fn create_handle(
|
||||
let handle = InstanceHandle::new(
|
||||
Arc::new(module),
|
||||
Arc::new(()),
|
||||
finished_functions.into_boxed_slice(),
|
||||
&finished_functions,
|
||||
trampolines,
|
||||
imports,
|
||||
store.memory_creator(),
|
||||
|
||||
Reference in New Issue
Block a user