mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-04 00:54:36 +00:00
debug generated linker data for Roc->JS calls
This commit is contained in:
parent
24e6e8445d
commit
29baa45774
3 changed files with 46 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue