fpc/compiler/mips
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 * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
aoptcpu.pas * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
aoptcpub.pas * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
aoptcpud.pas * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
cgcpu.pas * changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can 2010-05-30 21:12:57 +00:00
cpubase.pas * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
cpugas.pas * several mips/mipsel related stuff fixed 2009-11-27 15:10:56 +00:00
cpuinfo.pas * enable node cse for all cpus as level 2 optimization 2010-01-17 12:28:28 +00:00
cpunode.pas * more MIPS code of David Zhang integrated 2009-11-20 14:46:45 +00:00
cpupara.pas + merged nestedprocvars branch 2010-08-02 22:20:36 +00:00
cpupi.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cputarg.pas * sunos is not supported on mips 2009-12-06 12:19:08 +00:00
itcpugas.pas * adapted instruction string length so all instructions fit 2010-01-17 12:30:02 +00:00
mipsreg.dat * remove $Log 2005-06-07 09:47:55 +00:00
ncpuadd.pas * several mips/mipsel related stuff fixed 2009-11-27 15:10:56 +00:00
ncpucall.pas * adapted more fpc-mips stuff to trunk 2009-11-20 21:13:53 +00:00
ncpucnv.pas * fixed ARM and MIPS compilation after r14912 2010-02-18 21:19:17 +00:00
ncpuinln.pas * adapted more fpc-mips stuff to trunk 2009-11-20 21:13:53 +00:00
ncpumat.pas * adapted more fpc-mips stuff to trunk 2009-11-20 21:13:53 +00:00
ncpuset.pas * adapted more fpc-mips stuff to trunk 2009-11-20 21:13:53 +00:00
opcode.inc * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
rgcpu.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
rmipscon.inc
rmipsdwf.inc
rmipsgas.inc
rmipsgri.inc
rmipsgss.inc
rmipsmot.inc
rmipsmri.inc
rmipsnor.inc
rmipsnum.inc
rmipsrni.inc
rmipssri.inc
rmipssta.inc
rmipsstd.inc
rmipssup.inc
strinst.inc * adapted more fpc-mips stuff to trunk 2009-11-20 21:13:53 +00:00