debug generated linker data for Roc->JS calls

This commit is contained in:
Brian Carroll 2022-11-17 21:26:33 +00:00
parent 24e6e8445d
commit 29baa45774
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
3 changed files with 46 additions and 31 deletions

View file

@ -352,7 +352,7 @@ impl<'a> WasmModule<'a> {
let mut live_flags = BitVec::repeat(false, called_fns.len());
let mut next_pass_fns = BitVec::repeat(false, called_fns.len());
let mut current_pass_fns = called_fns;
for index in exported_fns.filter(|i| *i < fn_index_max) {
for index in exported_fns {
current_pass_fns.set(index as usize, true);
}