mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-07-24 15:45:42 +00:00
fix index
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ pub fn optimize(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If there is start function in module, it should stary
|
// If there is start function in module, it should stary
|
||||||
module.start_section().map(|ss| stay.insert(Symbol::Function(ss as usize)));
|
module.start_section().map(|ss| stay.insert(resolve_function(&module, ss)));
|
||||||
|
|
||||||
// All symbols used in data/element segments are also should be preserved
|
// All symbols used in data/element segments are also should be preserved
|
||||||
let mut init_symbols = Vec::new();
|
let mut init_symbols = Vec::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user