mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-04 11:12:17 +00:00
preserve tempret0
This commit is contained in:
parent
3f461d940f
commit
afb2dc0e43
@ -95,7 +95,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !matches.is_present("skip_optimization") {
|
if !matches.is_present("skip_optimization") {
|
||||||
wasm_utils::optimize(&mut module, vec!["_call"]).expect("Optimizer to finish without errors");
|
wasm_utils::optimize(&mut module, vec!["_call", "setTempRet0"]).expect("Optimizer to finish without errors");
|
||||||
}
|
}
|
||||||
|
|
||||||
parity_wasm::serialize_to_file(&path, module).unwrap();
|
parity_wasm::serialize_to_file(&path, module).unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user