mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-26 21:11:45 +00:00
preserve tempret0
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user