mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 12:09:11 +02:00
* made the fields array parameter of llvmgettemprecorddef "const", as it
doesn't get modified and hence doesn't need to be copied git-svn-id: trunk@42103 -
This commit is contained in:
parent
15532e5277
commit
a418dc6c91
@ -68,7 +68,7 @@ interface
|
||||
record consisting of 4 longints must be returned as a record consisting of
|
||||
two int64's on x86-64. This function is used to create (and reuse)
|
||||
temporary recorddefs for such purposes.}
|
||||
function llvmgettemprecorddef(fieldtypes: array of tdef; packrecords, recordalignmin, maxcrecordalign: shortint): trecorddef;
|
||||
function llvmgettemprecorddef(const fieldtypes: array of tdef; packrecords, recordalignmin, maxcrecordalign: shortint): trecorddef;
|
||||
|
||||
{ get the llvm type corresponding to a parameter, e.g. a record containing
|
||||
two integer int64 for an arbitrary record split over two individual int64
|
||||
@ -855,7 +855,7 @@ implementation
|
||||
end;
|
||||
|
||||
|
||||
function llvmgettemprecorddef(fieldtypes: array of tdef; packrecords, recordalignmin, maxcrecordalign: shortint): trecorddef;
|
||||
function llvmgettemprecorddef(const fieldtypes: array of tdef; packrecords, recordalignmin, maxcrecordalign: shortint): trecorddef;
|
||||
var
|
||||
i: longint;
|
||||
res: PHashSetItem;
|
||||
|
Loading…
Reference in New Issue
Block a user