mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-10-22 03:36:21 +00:00
preserve tempret0
This commit is contained in:
1 parent
3f461d940f
commit
afb2dc0e43
1 file changed
+1
-1
+1
-1
@@ -95,7 +95,7 @@ fn main() {
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
Reference in new issue
Block a user