mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 04:09:19 +02:00
x86: fix a variable op not initialized warning. This hopefully fixes our x86 testsuite run.
git-svn-id: trunk@28496 -
This commit is contained in:
parent
a4a54fa344
commit
249a60b28b
@ -613,6 +613,8 @@ unit nx86add;
|
|||||||
pass_left_right;
|
pass_left_right;
|
||||||
|
|
||||||
cmpop:=false;
|
cmpop:=false;
|
||||||
|
op:=A_NOP;
|
||||||
|
|
||||||
mmxbase:=mmx_type(left.resultdef);
|
mmxbase:=mmx_type(left.resultdef);
|
||||||
location_reset(location,LOC_MMXREGISTER,def_cgsize(resultdef));
|
location_reset(location,LOC_MMXREGISTER,def_cgsize(resultdef));
|
||||||
case nodetype of
|
case nodetype of
|
||||||
@ -689,6 +691,9 @@ unit nx86add;
|
|||||||
internalerror(2003042214);
|
internalerror(2003042214);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if op = A_NOP then
|
||||||
|
internalerror(201408201);
|
||||||
|
|
||||||
{ left and right no register? }
|
{ left and right no register? }
|
||||||
{ then one must be demanded }
|
{ then one must be demanded }
|
||||||
if (left.location.loc<>LOC_MMXREGISTER) then
|
if (left.location.loc<>LOC_MMXREGISTER) then
|
||||||
|
Loading…
Reference in New Issue
Block a user