[decompiler] fix (gpr->fpr when an integer arg is converted to float (#482)

* fix gpr fpr bug

* remove unused variable
This commit is contained in:
water111
2021-05-14 14:33:08 -04:00
committed by GitHub
parent 60c670df3a
commit b3eb05e37f
12 changed files with 95 additions and 42 deletions
+6
View File
@@ -489,6 +489,12 @@ void Env::disable_def(const RegisterAccess& access, DecompWarnings& warnings) {
}
}
void Env::disable_use(const RegisterAccess& access) {
if (has_local_vars()) {
m_var_names.disable_use(access);
}
}
/*!
* Set the stack hints. This must be done before type analysis.
* This actually parses the types, so it should be done after the dts is set up.