mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 11:39:40 +01:00 
			
		
		
		
	the use of Objective-C 1.0 constructs. Because it is a mode switch, it
    can be used cumulatively with every syntax mode. Note that a {$mode xxx}
    statement resets all mode switches as well, so you cannot use the
    -Mobjectivec1 variant if you have such a statement in a unit. This
    modeswitch is currently only enabled for Darwin/PowerPC and Darwin/i386,
    as the backend support is not yet implemented for other platforms.
  + implemented selector() statement that can be used to create an Objective-C
    selector for the message with the specified *constant* name (in the future,
    it will also work for Objective-C method identifiers)
  + added SEL type to the system unit (the selector() statement returns it)
  + added all Objective-C segments to the assembler writers
  + (currently mostly dummy) objc1 unit that is automatically included if the
    {$modeswitch objectivec1} statement is used
  + some tests for the selector() statement
git-svn-id: trunk@12870 -
		
	
			
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
{
 | 
						|
    Copyright (c) 2000-2002 by Florian Klaempfl
 | 
						|
 | 
						|
    Includes the i386 code generator
 | 
						|
 | 
						|
    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 cpunode;
 | 
						|
 | 
						|
{$i fpcdefs.inc}
 | 
						|
 | 
						|
  interface
 | 
						|
 | 
						|
  implementation
 | 
						|
 | 
						|
    uses
 | 
						|
       { generic nodes }
 | 
						|
       ncgbas,
 | 
						|
       ncgld,
 | 
						|
       ncgflw,
 | 
						|
       ncgcnv,
 | 
						|
       ncgmem,
 | 
						|
       ncgmat,
 | 
						|
       ncgcon,
 | 
						|
       ncgcal,
 | 
						|
       ncgset,
 | 
						|
       ncginl,
 | 
						|
       ncgopt,
 | 
						|
       ncgobjc,
 | 
						|
       { to be able to only parts of the generic code,
 | 
						|
         the processor specific nodes must be included
 | 
						|
         after the generic one (FK)
 | 
						|
       }
 | 
						|
       nx86set,
 | 
						|
       nx86con,
 | 
						|
       nx86cnv,
 | 
						|
 | 
						|
       n386add,
 | 
						|
       n386cal,
 | 
						|
       n386mem,
 | 
						|
       n386set,
 | 
						|
       n386inl,
 | 
						|
       n386mat
 | 
						|
       ;
 | 
						|
 | 
						|
end.
 |