+ override the inline node for WASM

git-svn-id: branches/wasm@48197 -
This commit is contained in:
nickysn 2021-01-19 14:04:47 +00:00
parent 67909adcc3
commit 888af282a4
3 changed files with 47 additions and 1 deletions

1
.gitattributes vendored
View File

@ -990,6 +990,7 @@ compiler/wasm32/nwasmcal.pas svneol=native#text/plain
compiler/wasm32/nwasmcnv.pas svneol=native#text/plain
compiler/wasm32/nwasmcon.pas svneol=native#text/plain
compiler/wasm32/nwasmflw.pas svneol=native#text/plain
compiler/wasm32/nwasminl.pas svneol=native#text/plain
compiler/wasm32/nwasmmat.pas svneol=native#text/plain
compiler/wasm32/nwasmset.pas svneol=native#text/plain
compiler/wasm32/rgcpu.pas svneol=native#text/plain

View File

@ -33,7 +33,7 @@ implementation
ncgbas,ncgflw,ncgcnv,ncgld,ncgmem,ncgcon,ncgset,
ncgadd, ncgcal,ncgmat,ncginl,
nwasmadd,nwasmcal,nwasmmat,nwasmflw,nwasmcon,nwasmcnv,nwasmset,
nwasmadd,nwasmcal,nwasmmat,nwasmflw,nwasmcon,nwasmcnv,nwasmset,nwasminl,
(* todo: WASM
njvmcnv,njvmcon,njvminl,njvmmem,njvmld,
njvmset,njvmvmt

View File

@ -0,0 +1,45 @@
{
Copyright (c) 1998-2002, 2021 by Florian Klaempfl and Nikolay Nikolov
Generate WebAssembly inline nodes
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 nwasminl;
{$i fpcdefs.inc}
interface
uses
ncginl;
type
{ twasminlinenode }
twasminlinenode = class(tcginlinenode)
end;
implementation
uses
ninl;
begin
cinlinenode:=twasminlinenode;
end.