mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 04:27:26 +01:00
which allows const symbol expressions to also have a size sometimes. Why?
Because TP7 (and perhaps Delphi) allows not specifying the size in e.g.
test [di+recordtype.recordfield], 1
in this case, the operand size (byte ptr, word ptr, dword ptr, qword ptr) is
determined by the size of recordtype.recordfield; this already happens with
variables, but in this case, this is a type.field, which is resolved to a
constant.
This commit only adds a dummy 'size' parameter, which is always initialized to
0 and not used. The actual implementation of the above will follow in separate
commits.
git-svn-id: trunk@38173 -
|
||
|---|---|---|
| .. | ||
| aasmcpu.pas | ||
| agx86att.pas | ||
| agx86int.pas | ||
| agx86nsm.pas | ||
| aoptx86.pas | ||
| cga.pas | ||
| cgx86.pas | ||
| cpubase.pas | ||
| hlcgx86.pas | ||
| itcpugas.pas | ||
| itx86int.pas | ||
| ni86mem.pas | ||
| nx86add.pas | ||
| nx86cal.pas | ||
| nx86cnv.pas | ||
| nx86con.pas | ||
| nx86inl.pas | ||
| nx86ld.pas | ||
| nx86mat.pas | ||
| nx86mem.pas | ||
| nx86set.pas | ||
| rax86.pas | ||
| rax86att.pas | ||
| rax86int.pas | ||
| rgx86.pas | ||
| symi86.pas | ||
| symx86.pas | ||
| x86ins.dat | ||
| x86reg.dat | ||