mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 18:40:20 +02:00
+ llvm implementation of load nodes (inherit from tcgnestloadnode, because
support for loading data from parent routines in nested routines has to be implemented explicitly via records, like for the jvm target) git-svn-id: branches/hlcgllvm@26049 -
This commit is contained in:
parent
80c6225bf4
commit
d33035dca2
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -325,6 +325,7 @@ compiler/llvm/llvmpara.pas svneol=native#text/plain
|
||||
compiler/llvm/llvmsym.pas svneol=native#text/plain
|
||||
compiler/llvm/nllvmadd.pas svneol=native#text/plain
|
||||
compiler/llvm/nllvmcon.pas svneol=native#text/plain
|
||||
compiler/llvm/nllvmld.pas svneol=native#text/plain
|
||||
compiler/llvm/rgllvm.pas svneol=native#text/plain
|
||||
compiler/llvm/tgllvm.pas svneol=native#text/plain
|
||||
compiler/m68k/aasmcpu.pas svneol=native#text/plain
|
||||
|
44
compiler/llvm/nllvmld.pas
Normal file
44
compiler/llvm/nllvmld.pas
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
Copyright (c) 2012 by Jonas Maebe
|
||||
|
||||
Generate LLVM bytecode for nodes that handle loads and assignments
|
||||
|
||||
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 nllvmld;
|
||||
|
||||
{$mode objfpc}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
ncgnstld;
|
||||
|
||||
type
|
||||
tllvmloadnode = class(tcgnestloadnode)
|
||||
end;
|
||||
|
||||
|
||||
implementation
|
||||
|
||||
uses
|
||||
nld;
|
||||
|
||||
begin
|
||||
cloadnode:=tllvmloadnode;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user