mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-08-14 16:27:34 +00:00
Count variables referenced in assembly code as used.
This commit is contained in:
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;
|
||||||
|
Reference in New Issue
Block a user