/compiler/avr/hlcgcpu.pas

https://github.com/slibre/freepascal · Pascal · 45 lines · 13 code · 8 blank · 24 comment · 0 complexity · 2fac9f8c66e75bd3f55cb5ee96a22b67 MD5 · raw file

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