~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to compiler/i386/n386cnv.pas

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{
2
 
    $Id: n386cnv.pas,v 1.74 2005/02/14 17:13:09 peter Exp $
3
 
    Copyright (c) 1998-2002 by Florian Klaempfl
4
 
 
5
 
    Generate i386 assembler for type converting nodes
6
 
 
7
 
    This program is free software; you can redistribute it and/or modify
8
 
    it under the terms of the GNU General Public License as published by
9
 
    the Free Software Foundation; either version 2 of the License, or
10
 
    (at your option) any later version.
11
 
 
12
 
    This program is distributed in the hope that it will be useful,
13
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
    GNU General Public License for more details.
16
 
 
17
 
    You should have received a copy of the GNU General Public License
18
 
    along with this program; if not, write to the Free Software
19
 
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
 
 
21
 
 ****************************************************************************
22
 
}
23
 
unit n386cnv;
24
 
 
25
 
{$i fpcdefs.inc}
26
 
 
27
 
interface
28
 
 
29
 
    uses
30
 
      node,ncgcnv,defutil,defcmp,nx86cnv;
31
 
 
32
 
    type
33
 
       ti386typeconvnode = class(tx86typeconvnode)
34
 
         protected
35
 
         { procedure second_int_to_int;override; }
36
 
         { procedure second_string_to_string;override; }
37
 
         { procedure second_cstring_to_pchar;override; }
38
 
         { procedure second_string_to_chararray;override; }
39
 
         { procedure second_array_to_pointer;override; }
40
 
         { procedure second_pointer_to_array;override; }
41
 
         { procedure second_chararray_to_string;override; }
42
 
         { procedure second_char_to_string;override; }
43
 
         { function first_int_to_real: tnode; override; }
44
 
         { procedure second_int_to_real;override; }
45
 
         { procedure second_real_to_real;override; }
46
 
         { procedure second_cord_to_pointer;override; }
47
 
         { procedure second_proc_to_procvar;override; }
48
 
         { procedure second_bool_to_int;override; }
49
 
         { procedure second_int_to_bool;override; }
50
 
         { procedure second_load_smallset;override;  }
51
 
         { procedure second_ansistring_to_pchar;override; }
52
 
         { procedure second_pchar_to_string;override; }
53
 
         { procedure second_class_to_intf;override;  }
54
 
         { procedure second_char_to_char;override; }
55
 
       end;
56
 
 
57
 
 
58
 
implementation
59
 
 
60
 
   uses
61
 
      verbose,systems,
62
 
      symconst,symdef,aasmbase,aasmtai,aasmcpu,
63
 
      cgbase,
64
 
      ncon,ncal,ncnv,
65
 
      cpubase,tgobj,
66
 
      cgobj,cga,cgx86,ncgutil;
67
 
 
68
 
 
69
 
begin
70
 
   ctypeconvnode:=ti386typeconvnode;
71
 
end.
72
 
{
73
 
  $Log: n386cnv.pas,v $
74
 
  Revision 1.74  2005/02/14 17:13:09  peter
75
 
    * truncate log
76
 
 
77
 
}