Ver Fonte

+ created unit (empty for now) for the llvm-mc assembler writer

git-svn-id: branches/wasm@46495 -
nickysn há 5 anos atrás
pai
commit
f04c43f58c
3 ficheiros alterados com 35 adições e 0 exclusões
  1. 1 0
      .gitattributes
  2. 33 0
      compiler/wasm32/agllvmmc.pas
  3. 1 0
      compiler/wasm32/cputarg.pas

+ 1 - 0
.gitattributes

@@ -969,6 +969,7 @@ compiler/verbose.pas svneol=native#text/plain
 compiler/version.pas svneol=native#text/plain
 compiler/wasm32/aasmcpu.pas svneol=native#text/plain
 compiler/wasm32/agbinaryen.pas svneol=native#text/plain
+compiler/wasm32/agllvmmc.pas svneol=native#text/plain
 compiler/wasm32/agwat.pas svneol=native#text/plain
 compiler/wasm32/cgcpu.pas svneol=native#text/plain
 compiler/wasm32/cpubase.pas svneol=native#text/plain

+ 33 - 0
compiler/wasm32/agllvmmc.pas

@@ -0,0 +1,33 @@
+{
+    Copyright (c) 1998-2020 by the Free Pascal team
+
+    This unit implements the llvm-mc ("llvm machine code playground")
+    assembler writer for WebAssembly
+
+    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 agllvmmc;
+
+{$i fpcdefs.inc}
+
+interface
+
+implementation
+
+end.
+

+ 1 - 0
compiler/wasm32/cputarg.pas

@@ -47,6 +47,7 @@ implementation
 
       ,agwat
       ,agbinaryen
+      ,agllvmmc
 
 {**************************************
         Assembler Readers