preserve tempret0

This commit is contained in:
NikVolf 2017-08-15 16:50:43 +03:00
parent 3f461d940f
commit afb2dc0e43

View File

@ -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();