Count variables referenced in assembly code as used.
This commit is contained in:
parent
4bc486eade
commit
705c9d36a2
1
Asm.pas
1
Asm.pas
|
@ -224,6 +224,7 @@ var
|
||||||
size := longAddress;
|
size := longAddress;
|
||||||
end {if}
|
end {if}
|
||||||
else begin
|
else begin
|
||||||
|
id^.used := true;
|
||||||
operand.symbolPtr := id;
|
operand.symbolPtr := id;
|
||||||
if id^.storage in [stackFrame,parameter] then begin
|
if id^.storage in [stackFrame,parameter] then begin
|
||||||
code^.slab := id^.lln;
|
code^.slab := id^.lln;
|
||||||
|
|
Loading…
Reference in New Issue