mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Increase the limit on the number of intermediate code labels in a function from 2400 to 3200.
This is necessary to compile some very large functions, such as the main interpreter loop in Git. This consumes about 8K of extra memory for the additional label records.
This commit is contained in:
parent
709f9b3f25
commit
a4bffe65e5
@ -622,7 +622,8 @@ implementation
|
||||
|
||||
const
|
||||
{Note: maxLabel is also defined in cgi.pas}
|
||||
maxLabel = 2400; {max # compiler generated labels}
|
||||
{Note: maxlabel is also defined in CGC.asm}
|
||||
maxLabel = 3200; {max # compiler generated labels}
|
||||
|
||||
{spinner}
|
||||
{-------}
|
||||
|
2
CGC.asm
2
CGC.asm
@ -96,7 +96,7 @@ rec_cmp equ 18 disp to comp (SANE) value
|
||||
****************************************************************
|
||||
*
|
||||
InitLabels start
|
||||
maxLabel equ 2400
|
||||
maxLabel equ 3200
|
||||
|
||||
! with labelTab[0] do begin
|
||||
lda #-1 val := -1;
|
||||
|
4
CGI.pas
4
CGI.pas
@ -194,8 +194,8 @@ const
|
||||
{---------------}
|
||||
maxCBuff = 191; {length of constant buffer}
|
||||
{Note: maxlabel is also defined in CCommon.pas}
|
||||
{Note: maxlabel is also defined in objout.asm}
|
||||
maxLabel = 2400; {max # of internal labels}
|
||||
{Note: maxlabel is also defined in CGC.asm}
|
||||
maxLabel = 3200; {max # of internal labels}
|
||||
maxLocalLabel = 200; {max # local variables}
|
||||
maxString = 8000; {max # chars in string space}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user