mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 07:46:08 +02:00
* modifications to make the compiler functional when compiled with
-Or
This commit is contained in:
parent
3d6ba19140
commit
0ab87d5ed8
@ -841,7 +841,9 @@ unit pexpr;
|
|||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Factor
|
Factor
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters 0}
|
||||||
|
{$endif fpc}
|
||||||
function factor(getaddr : boolean) : ptree;
|
function factor(getaddr : boolean) : ptree;
|
||||||
var
|
var
|
||||||
l : longint;
|
l : longint;
|
||||||
@ -1897,7 +1899,9 @@ _LECKKLAMMER : begin
|
|||||||
factor:=p1;
|
factor:=p1;
|
||||||
check_tokenpos;
|
check_tokenpos;
|
||||||
end;
|
end;
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters default}
|
||||||
|
{$endif fpc}
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Sub_Expr
|
Sub_Expr
|
||||||
@ -2124,7 +2128,11 @@ _LECKKLAMMER : begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.168 2000-02-09 13:22:56 peter
|
Revision 1.169 2000-02-13 14:21:50 jonas
|
||||||
|
* modifications to make the compiler functional when compiled with
|
||||||
|
-Or
|
||||||
|
|
||||||
|
Revision 1.168 2000/02/09 13:22:56 peter
|
||||||
* log truncated
|
* log truncated
|
||||||
|
|
||||||
Revision 1.167 2000/01/19 22:41:58 florian
|
Revision 1.167 2000/01/19 22:41:58 florian
|
||||||
|
@ -44,7 +44,7 @@ Uses
|
|||||||
{$ifdef finaldestdebug}
|
{$ifdef finaldestdebug}
|
||||||
cobjects,
|
cobjects,
|
||||||
{$endif finaldestdebug}
|
{$endif finaldestdebug}
|
||||||
cpubase,cpuasm,DAOpt386,cobjects;
|
cpubase,cpuasm,DAOpt386;
|
||||||
|
|
||||||
Function RegUsedAfterInstruction(Reg: TRegister; p: Pai; Var UsedRegs: TRegSet): Boolean;
|
Function RegUsedAfterInstruction(Reg: TRegister; p: Pai; Var UsedRegs: TRegSet): Boolean;
|
||||||
Begin
|
Begin
|
||||||
@ -1890,7 +1890,11 @@ End.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.86 2000-02-12 19:28:56 jonas
|
Revision 1.87 2000-02-13 14:21:50 jonas
|
||||||
|
* modifications to make the compiler functional when compiled with
|
||||||
|
-Or
|
||||||
|
|
||||||
|
Revision 1.86 2000/02/12 19:28:56 jonas
|
||||||
* fix for imul optimization in popt386 (exclude top_ref as first
|
* fix for imul optimization in popt386 (exclude top_ref as first
|
||||||
argument)
|
argument)
|
||||||
* in csopt386: change "mov reg1,reg2; <several operations on reg2>;
|
* in csopt386: change "mov reg1,reg2; <several operations on reg2>;
|
||||||
|
@ -51,6 +51,9 @@ unit ptconst;
|
|||||||
hcgdata;
|
hcgdata;
|
||||||
|
|
||||||
|
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters 0}
|
||||||
|
{$endif fpc}
|
||||||
{ this procedure reads typed constants }
|
{ this procedure reads typed constants }
|
||||||
procedure readtypedconst(def : pdef;sym : ptypedconstsym;no_change_allowed : boolean);
|
procedure readtypedconst(def : pdef;sym : ptypedconstsym;no_change_allowed : boolean);
|
||||||
|
|
||||||
@ -765,11 +768,18 @@ unit ptconst;
|
|||||||
else Message(parser_e_type_const_not_possible);
|
else Message(parser_e_type_const_not_possible);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters default}
|
||||||
|
{$endif fpc}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.62 2000-02-09 13:23:01 peter
|
Revision 1.63 2000-02-13 14:21:51 jonas
|
||||||
|
* modifications to make the compiler functional when compiled with
|
||||||
|
-Or
|
||||||
|
|
||||||
|
Revision 1.62 2000/02/09 13:23:01 peter
|
||||||
* log truncated
|
* log truncated
|
||||||
|
|
||||||
Revision 1.61 2000/01/07 01:14:33 peter
|
Revision 1.61 2000/01/07 01:14:33 peter
|
||||||
|
@ -172,6 +172,10 @@ implementation
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters 0}
|
||||||
|
{$endif fpc}
|
||||||
|
|
||||||
var
|
var
|
||||||
t,hp : ptree;
|
t,hp : ptree;
|
||||||
ot,
|
ot,
|
||||||
@ -1254,7 +1258,11 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.65 2000-02-09 13:23:06 peter
|
Revision 1.66 2000-02-13 14:21:51 jonas
|
||||||
|
* modifications to make the compiler functional when compiled with
|
||||||
|
-Or
|
||||||
|
|
||||||
|
Revision 1.65 2000/02/09 13:23:06 peter
|
||||||
* log truncated
|
* log truncated
|
||||||
|
|
||||||
Revision 1.64 2000/02/04 08:47:10 florian
|
Revision 1.64 2000/02/04 08:47:10 florian
|
||||||
|
@ -46,6 +46,9 @@ implementation
|
|||||||
FirstInLine
|
FirstInLine
|
||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
|
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters 0}
|
||||||
|
{$endif fpc}
|
||||||
procedure firstinline(var p : ptree);
|
procedure firstinline(var p : ptree);
|
||||||
var
|
var
|
||||||
vl,vl2 : longint;
|
vl,vl2 : longint;
|
||||||
@ -1275,12 +1278,18 @@ implementation
|
|||||||
p^.resulttype:=generrordef;
|
p^.resulttype:=generrordef;
|
||||||
dec(parsing_para_level);
|
dec(parsing_para_level);
|
||||||
end;
|
end;
|
||||||
|
{$ifdef fpc}
|
||||||
|
{$maxfpuregisters default}
|
||||||
|
{$endif fpc}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.65 2000-02-09 13:23:07 peter
|
Revision 1.66 2000-02-13 14:21:51 jonas
|
||||||
|
* modifications to make the compiler functional when compiled with
|
||||||
|
-Or
|
||||||
|
|
||||||
|
Revision 1.65 2000/02/09 13:23:07 peter
|
||||||
* log truncated
|
* log truncated
|
||||||
|
|
||||||
Revision 1.64 2000/01/07 01:14:45 peter
|
Revision 1.64 2000/01/07 01:14:45 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user