mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-09 06:18:36 +02:00

From 3de374be5fcd29b9a57a43073ccc4f7fe8425805 Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <skalogryz.lists@gmail.com> Date: Mon, 9 Sep 2019 11:22:56 -0400 git-svn-id: branches/wasm@45894 -
48 lines
1.6 KiB
ObjectPascal
48 lines
1.6 KiB
ObjectPascal
{******************************************************************************
|
|
Copyright (c) 2019 by Dmitry Boyarintsev
|
|
|
|
Includes the WebAssembly code generator
|
|
|
|
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 cpunode;
|
|
|
|
{$I fpcdefs.inc}
|
|
|
|
interface
|
|
{ This unit is used to define the specific CPU implementations. All needed
|
|
actions are included in the INITALIZATION part of these units. This explains
|
|
the behaviour of such a unit having just a USES clause! }
|
|
|
|
implementation
|
|
|
|
uses
|
|
ncgbas,ncgflw,ncgcnv,ncgld,ncgmem,ncgcon,ncgset,
|
|
ncgadd, ncgcal,ncgmat,ncginl,
|
|
|
|
nwasmadd, nwasmflw,
|
|
(* todo: WASM
|
|
njvmadd,njvmcal,njvmmat,njvmcnv,njvmcon,njvminl,njvmmem,njvmflw,njvmld,
|
|
njvmset,njvmvmt
|
|
{ these are not really nodes }
|
|
,rgcpu,tgcpu,njvmutil,njvmtcon,
|
|
*)
|
|
{ symtable }
|
|
symcpu;
|
|
{ no aasmdef, the WebAssembly uses the base TAsmData class (set in init code of aasmcpu) }
|
|
|
|
end.
|