+ added WebAssembly node utils

This commit is contained in:
Nikolay Nikolov 2021-09-24 16:44:33 +03:00
parent 5abfe21f39
commit 860e4487c3
2 changed files with 43 additions and 5 deletions

View File

@ -34,12 +34,8 @@ implementation
ncgadd, ncgcal,ncgmat,ncginl,
nwasmadd,nwasmcal,nwasmmat,nwasmflw,nwasmcon,nwasmcnv,nwasmset,nwasminl,
(* todo: WASM
njvmcnv,njvmcon,njvminl,njvmmem,njvmld,
njvmset,njvmvmt
{ these are not really nodes }
,rgcpu,tgcpu,njvmutil,njvmtcon,
*)
nwasmutil,
{ symtable }
symcpu;
{ no aasmdef, the WebAssembly uses the base TAsmData class (set in init code of aasmcpu) }

View File

@ -0,0 +1,42 @@
{
Copyright (c) 2021 by Nikolay Nikolov
WebAssembly version of some node tree helper routines
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
****************************************************************************
}
unit nwasmutil;
{$i fpcdefs.inc}
interface
uses
ngenutil;
type
{ twasmnodeutils }
twasmnodeutils = class(tnodeutils)
end;
implementation
begin
cnodeutils:=twasmnodeutils;
end.