mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 08:43:07 +02:00
* WebAssembly codegen: fixed access to absolute variables, pointing to just a constant address, e.g. var a: longint absolute 5;
This commit is contained in:
parent
452c766f04
commit
2e77e1a471
@ -1319,12 +1319,10 @@ implementation
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
{ static field -> nothing to do here, except for validity check }
|
{ no symbol, no index, just fixed address, e.g. var a: longint absolute 5; }
|
||||||
{if not assigned(ref.symbol) or
|
list.Concat(taicpu.op_const(a_i32_const,0));
|
||||||
(ref.offset<>0) then
|
incstack(list,1);
|
||||||
begin
|
result:=1;
|
||||||
internalerror(2010120525);
|
|
||||||
end;}
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user