+ insert type conversion for the div result when cpuneedsdiv32helper is used

git-svn-id: branches/i8086@23879 -
This commit is contained in:
nickysn 2013-03-16 23:12:39 +00:00
parent 1dbca4c403
commit a9640ad9c6

View File

@ -433,6 +433,13 @@ implementation
left := nil;
right := nil;
firstpass(result);
if result.resultdef.typ<>orddef then
internalerror(2013031701);
if resultdef.typ<>orddef then
internalerror(2013031701);
if torddef(result.resultdef).ordtype <> torddef(resultdef).ordtype then
inserttypeconv(result,resultdef);
end;
{$else cpuneedsdiv32helper}
begin