dont count when USE_TMP is not defined
This commit is contained in:
parent
adce53f009
commit
7e2c3130b0
1 changed files with 4 additions and 0 deletions
|
@ -178,7 +178,9 @@ LoadLocal(off, sz)
|
||||||
{
|
{
|
||||||
register struct localvar *p = find_reg(off);
|
register struct localvar *p = find_reg(off);
|
||||||
|
|
||||||
|
#ifdef USE_TMP
|
||||||
if (p) p->t_count++;
|
if (p) p->t_count++;
|
||||||
|
#endif
|
||||||
if (sz == word_size) C_lol(off);
|
if (sz == word_size) C_lol(off);
|
||||||
else if (sz == dword_size) C_ldl(off);
|
else if (sz == dword_size) C_ldl(off);
|
||||||
else {
|
else {
|
||||||
|
@ -193,7 +195,9 @@ StoreLocal(off, sz)
|
||||||
{
|
{
|
||||||
register struct localvar *p = find_reg(off);
|
register struct localvar *p = find_reg(off);
|
||||||
|
|
||||||
|
#ifdef USE_TMP
|
||||||
if (p) p->t_count++;
|
if (p) p->t_count++;
|
||||||
|
#endif
|
||||||
if (sz == word_size) C_stl(off);
|
if (sz == word_size) C_stl(off);
|
||||||
else if (sz == dword_size) C_sdl(off);
|
else if (sz == dword_size) C_sdl(off);
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue