mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 12:10:39 +02:00
* load nodes for variables in registers do not generated instructions, so their complexity is zero
git-svn-id: trunk@43319 -
This commit is contained in:
parent
9259c948be
commit
b7f58dd8c8
@ -777,7 +777,8 @@ implementation
|
||||
if (tloadnode(p).symtableentry.typ=staticvarsym) and
|
||||
(vo_is_thread_var in tstaticvarsym(tloadnode(p).symtableentry).varoptions) then
|
||||
inc(result,5)
|
||||
else
|
||||
else if not((tloadnode(p).symtableentry.typ in [staticvarsym,localvarsym,paravarsym,fieldvarsym]) and
|
||||
(tabstractvarsym(tloadnode(p).symtableentry).varregable in [vr_intreg,vr_mmreg,vr_fpureg])) then
|
||||
inc(result);
|
||||
if (tloadnode(p).symtableentry.typ=paravarsym) and tloadnode(p).is_addr_param_load then
|
||||
inc(result);
|
||||
|
Loading…
Reference in New Issue
Block a user