mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 20:39:24 +02:00
+ introduced tcpustaticvarsym.is_wasm_global
This commit is contained in:
parent
55482bd876
commit
8d441929a8
@ -165,6 +165,7 @@ type
|
||||
tcpuparavarsymclass = class of tcpuparavarsym;
|
||||
|
||||
tcpustaticvarsym = class(tstaticvarsym)
|
||||
function is_wasm_global: Boolean;
|
||||
end;
|
||||
tcpustaticvarsymclass = class of tcpustaticvarsym;
|
||||
|
||||
@ -315,6 +316,10 @@ implementation
|
||||
tcpustaticvarsym
|
||||
****************************************************************************}
|
||||
|
||||
function tcpustaticvarsym.is_wasm_global: Boolean;
|
||||
begin
|
||||
Result:=UpCase(section)='WEBASSEMBLY.GLOBAL';
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
tcpufieldvarsym
|
||||
|
Loading…
Reference in New Issue
Block a user