mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 07:47:59 +02:00
* override tcpuparamanager.has_strict_proc_signature and return true for WebAssembly
This commit is contained in:
parent
f1725289e9
commit
ba8554fcf5
@ -35,6 +35,7 @@ interface
|
||||
{ tcpuparamanager }
|
||||
|
||||
tcpuparamanager=class(TParaManager)
|
||||
function has_strict_proc_signature: boolean; override;
|
||||
function get_saved_registers_int(calloption: tproccalloption): tcpuregisterarray;override;
|
||||
function keep_para_array_range(varspez: tvarspez; def: tdef; calloption: tproccalloption): boolean; override;
|
||||
function push_addr_param(varspez:tvarspez;def : tdef;calloption : tproccalloption) : boolean;override;
|
||||
@ -64,6 +65,12 @@ implementation
|
||||
hlcgobj;
|
||||
|
||||
|
||||
function tcpuparamanager.has_strict_proc_signature: boolean;
|
||||
begin
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
|
||||
function tcpuparamanager.get_saved_registers_int(calloption: tproccalloption): tcpuregisterarray;
|
||||
const
|
||||
{ dummy, not used for WebAssembly }
|
||||
|
Loading…
Reference in New Issue
Block a user