PageRenderTime 5ms CodeModel.GetById 3ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/compiler/avr/hlcgcpu.pas

https://github.com/slibre/freepascal
Pascal | 45 lines | 13 code | 8 blank | 24 comment | 0 complexity | 2fac9f8c66e75bd3f55cb5ee96a22b67 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1{
 2    Copyright (c) 1998-2010 by Florian Klaempfl and Jonas Maebe
 3    Member of the Free Pascal development team
 4
 5    This unit contains routines to create a pass-through high-level code
 6    generator. This is used by most regular code generators.
 7
 8    This program is free software; you can redistribute it and/or modify
 9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
22 ****************************************************************************
23}
24
25unit hlcgcpu;
26
27{$i fpcdefs.inc}
28
29interface
30
31  procedure create_hlcodegen;
32
33implementation
34
35  uses
36    hlcgobj, hlcg2ll,
37    cgcpu;
38
39  procedure create_hlcodegen;
40    begin
41      hlcg:=thlcg2ll.create;
42      create_codegen;
43    end;
44
45end.