* don't cast the succeeded node succn to a tcallparanode (it's usually a tloadnode or something similar instead)

This commit is contained in:
Sven/Sarah Barth 2025-01-13 22:23:11 +01:00
parent 1a130056f7
commit d3c3b79e79

View File

@ -6227,7 +6227,7 @@ implementation
cmpn:=cmpn.getcopy;
inserttypeconv_internal(cmpn,resultdef);
addstatement(stmt,
cassignmentnode.create(tcallparanode(succn),
cassignmentnode.create(succn,
caddnode.create(equaln,cmpn,
ctemprefnode.create(tmp))));
addstatement(stmt,ctempdeletenode.create_normal_temp(tmp));