mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 14:29:13 +02:00
* fixed compilation
This commit is contained in:
parent
57dc23a294
commit
d018160981
@ -36,7 +36,7 @@ unit ncpuset;
|
|||||||
protected
|
protected
|
||||||
procedure optimizevalues(var max_linear_list:aint;var max_dist:aword);override;
|
procedure optimizevalues(var max_linear_list:aint;var max_dist:aword);override;
|
||||||
function has_jumptable : boolean;override;
|
function has_jumptable : boolean;override;
|
||||||
procedure genjumptable(hp : pcaserecord;min_,max_ : aint);override;
|
procedure genjumptable(hp : pcaselabel;min_,max_ : aint);override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ unit ncpuset;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
procedure tcpucasenode.genjumptable(hp : pcaserecord;min_,max_ : aint);
|
procedure tcpucasenode.genjumptable(hp : pcaselabel;min_,max_ : aint);
|
||||||
var
|
var
|
||||||
table : tasmlabel;
|
table : tasmlabel;
|
||||||
last : TConstExprInt;
|
last : TConstExprInt;
|
||||||
@ -71,7 +71,7 @@ unit ncpuset;
|
|||||||
href : treference;
|
href : treference;
|
||||||
jumpsegment : TAAsmOutput;
|
jumpsegment : TAAsmOutput;
|
||||||
|
|
||||||
procedure genitem(t : pcaserecord);
|
procedure genitem(t : pcaselabel);
|
||||||
var
|
var
|
||||||
i : aint;
|
i : aint;
|
||||||
begin
|
begin
|
||||||
@ -81,7 +81,7 @@ unit ncpuset;
|
|||||||
for i:=last+1 to t^._low-1 do
|
for i:=last+1 to t^._low-1 do
|
||||||
jumpSegment.concat(Tai_const.Create_sym(elselabel));
|
jumpSegment.concat(Tai_const.Create_sym(elselabel));
|
||||||
for i:=t^._low to t^._high do
|
for i:=t^._low to t^._high do
|
||||||
jumpSegment.concat(Tai_const.Create_sym(t^.statement));
|
jumpSegment.concat(Tai_const.Create_sym(blocklabel(t^.blockid)));
|
||||||
last:=t^._high;
|
last:=t^._high;
|
||||||
if assigned(t^.greater) then
|
if assigned(t^.greater) then
|
||||||
genitem(t^.greater);
|
genitem(t^.greater);
|
||||||
@ -134,7 +134,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.3 2004-10-31 14:24:47 florian
|
Revision 1.4 2004-12-04 15:23:00 florian
|
||||||
|
* fixed compilation
|
||||||
|
|
||||||
|
Revision 1.3 2004/10/31 14:24:47 florian
|
||||||
* fixed jump table for sparc
|
* fixed jump table for sparc
|
||||||
|
|
||||||
Revision 1.2 2004/10/30 22:01:11 florian
|
Revision 1.2 2004/10/30 22:01:11 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user