mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 20:29:14 +02:00
* override the IN node for WebAssembly and avoid generating jump tables for the
IN nodes on that target git-svn-id: branches/wasm@48176 -
This commit is contained in:
parent
374882455b
commit
ec7fbcb271
@ -30,6 +30,13 @@ interface
|
||||
|
||||
type
|
||||
|
||||
{ twasminnode }
|
||||
|
||||
twasminnode = class(tcginnode)
|
||||
protected
|
||||
function checkgenjumps(out setparts: Tsetparts; out numparts: byte; out use_small: boolean): boolean;override;
|
||||
end;
|
||||
|
||||
{ twasmcasenode }
|
||||
|
||||
twasmcasenode = class(tcgcasenode)
|
||||
@ -58,6 +65,15 @@ implementation
|
||||
symtype,
|
||||
pass_2,defutil,verbose,constexp;
|
||||
|
||||
{*****************************************************************************
|
||||
TWASMINNODE
|
||||
*****************************************************************************}
|
||||
|
||||
function twasminnode.checkgenjumps(out setparts: Tsetparts; out numparts: byte; out use_small: boolean): boolean;
|
||||
begin
|
||||
result:=false;
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
TWASMCASENODE
|
||||
*****************************************************************************}
|
||||
@ -481,5 +497,6 @@ implementation
|
||||
end;
|
||||
|
||||
begin
|
||||
cinnode:=twasminnode;
|
||||
ccasenode:=twasmcasenode;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user