GP-0 Corrected decompiler bug introduced with GP-1633 affecting calling

convention used. (Closes #5268)
This commit is contained in:
ghidra1 2023-04-26 11:40:07 -04:00
parent 68c5e3990e
commit 6799c19e19

View file

@ -88,7 +88,7 @@ public class FunctionPrototype {
*/
public FunctionPrototype(FunctionSignature proto, CompilerSpec cspec,
boolean voidimpliesdotdotdot) {
modelname = proto.getName();
modelname = proto.getCallingConventionName();
PrototypeModel model = cspec.matchConvention(modelname);
localsyms = null;
injectname = null;