fpc/compiler/avr
Jonas Maebe 57bd6d2685 + merged nestedprocvars branch
+ support for nested procedural variables:
    o activate using {$modeswitch nestedprocvars} (compatible with all
      regular syntax modes, enabled by default for MacPas mode)
    o activating this mode switch changes the way the frame pointer is
      passed to nested routines into the same way that Delphi uses (always
      passed via the stack, and if necessary removed from the stack by
      the caller) -- Todo: possibly also allow using this parameter
      passing convention without enabling nested procvars, maybe even
      by default in Delphi mode, see mantis #9432
    o both global and nested routines can be passed to/assigned to a
      nested procvar (and called via them). Note that converting global
      *procvars* to nested procvars is intentionally not supported, so
      that this functionality can also be implemented via compile-time
      generated trampolines if necessary (e.g. for LLVM or CIL backends
      as long as they don't support the aforementioned parameter passing
      convention)
    o a nested procvar can both be declared using a Mac/ISO Pascal style
      "inline" type declaration as a parameter type, or as a stand-alone
      type (in the latter case, add "is nested" at the end in analogy to
      "of object" for method pointers -- note that using variables of
      such a type is dangerous, because if you call them once the enclosing
      stack frame no longer exists on the stack, the results are
      undefined; this is however allowed for Metaware Pascal compatibility)

git-svn-id: trunk@15694 -
2010-08-02 22:20:36 +00:00
..
aasmcpu.pas
agavrgas.pas * changed the supported targets for assembler writers to a set, and 2009-01-28 15:12:43 +00:00
aoptcpu.pas
aoptcpub.pas
aoptcpud.pas
avrreg.dat
cgcpu.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
cpubase.pas * added register type parameter to cgsize2subreg(), as the subreg can 2009-07-19 13:57:23 +00:00
cpuinfo.pas * enable node cse for all cpus as level 2 optimization 2010-01-17 12:28:28 +00:00
cpunode.pas * avr stuff, work in progress 2009-07-25 19:31:06 +00:00
cpupara.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
cpupi.pas
cputarg.pas
itcpugas.pas * copyright and description fixed 2008-03-01 20:22:18 +00:00
navradd.pas * avr stuff, work in progress 2009-07-25 19:31:06 +00:00
navrcnv.pas * avr stuff, work in progress 2009-07-25 19:31:06 +00:00
navrmat.pas * fixed compilation of AVR compiler 2009-06-27 19:31:24 +00:00
raavr.pas
raavrgas.pas * fixed compilation 2008-07-13 18:16:53 +00:00
ravrcon.inc
ravrdwa.inc
ravrnor.inc
ravrnum.inc
ravrrni.inc
ravrsri.inc
ravrsta.inc
ravrstd.inc
ravrsup.inc
rgcpu.pas * continued work on avr-embedded 2008-08-14 14:23:25 +00:00