mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-05-29 04:41:27 +00:00
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
Block a user