Commit History

Autor SHA1 Mensaxe Data
  florian 51326e94f3 * allow char constant to be used for const string parameters in generic specializations, resolves #39030 %!s(int64=4) %!d(string=hai) anos
  pierre e6045673ee Handle NIL entries in deflist after commit 48986 %!s(int64=4) %!d(string=hai) anos
  yury 75491ae21c * Removed/ifdefed the assigned and unused variables. %!s(int64=4) %!d(string=hai) anos
  yury 9c265d71f0 * Fixed a wrong code caused by a typo. It has been revealed by a note about an unused var. %!s(int64=4) %!d(string=hai) anos
  svenbarth e4eed4e259 * when only a symbol name is provided to generate_specialization_phase1 allow a symbol table to be provided as well %!s(int64=4) %!d(string=hai) anos
  svenbarth 9179f9d43b * always add a generic dummy if it is a procsym %!s(int64=4) %!d(string=hai) anos
  florian ff295bf349 * delay setting of pd_body and pd_implement till the header of a generic %!s(int64=5) %!d(string=hai) anos
  florian e7f7927ca9 + initialize variables, so compilation with -O3 works %!s(int64=5) %!d(string=hai) anos
  svenbarth 04554d7505 * use a more detailed error message if a type is not allowed for a generic constant parameter %!s(int64=5) %!d(string=hai) anos
  svenbarth a467332187 * fix for Mantis #36975: arraydefs are not allowed for generic types (this is only used for type declarations; for specializing constant strings which are char arrays are still allowed) %!s(int64=5) %!d(string=hai) anos
  svenbarth 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics %!s(int64=5) %!d(string=hai) anos
  svenbarth 41a6957f7d * keep track of the fileposinfo for generic constraints %!s(int64=5) %!d(string=hai) anos
  florian b7afb2431c * do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584 %!s(int64=5) %!d(string=hai) anos
  svenbarth c6a4d10f61 * for deciding whether to swap a generic's buffer use the module's flag instead of the def's %!s(int64=5) %!d(string=hai) anos
  pierre d1e4066477 Hopefully fix problems related to loading of ppufile generated with other endianess for generics %!s(int64=5) %!d(string=hai) anos
  yury 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) %!s(int64=5) %!d(string=hai) anos
  svenbarth 3e7dc25667 * fix for Mantis #36496: correctly handle the function result alias variable inside generic functions %!s(int64=5) %!d(string=hai) anos
  svenbarth bf5d75e594 * move the common sequence to build a VMT for an objectdef into a separate procedure (based on a patch by Blaise.ru) %!s(int64=5) %!d(string=hai) anos
  svenbarth 97eefb6ac3 - the error recovery handling is no longer required %!s(int64=5) %!d(string=hai) anos
  svenbarth 5b71ba2a9b * treat a missing genericdef with no symname set as an internal error %!s(int64=5) %!d(string=hai) anos
  svenbarth ef6c9e930b * correctly handle the genericdef being a procdef, otherwise no code will be generated (and no error either :/ ) %!s(int64=5) %!d(string=hai) anos
  svenbarth 1abc9c1fe7 * when specializing a routine all nested specializations must go to the para- or localsymtable as otherwise the symbol can't be found to be registered %!s(int64=5) %!d(string=hai) anos
  svenbarth d79e2ee9da * also store, reset and restore the current module's procinfo %!s(int64=5) %!d(string=hai) anos
  Jonas Maebe a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration %!s(int64=5) %!d(string=hai) anos
  Jonas Maebe d8903ce6b3 - removed maxcrecordalign parameter/field from recordsymtables, as this value %!s(int64=6) %!d(string=hai) anos
  Jonas Maebe 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
  Jonas Maebe e008785152 * insert the hidden parameters for objectdef methods after resolving %!s(int64=6) %!d(string=hai) anos
  Jonas Maebe ed2ae508d0 * only add hidden parameters for objectdef methods after generating the vmt, %!s(int64=6) %!d(string=hai) anos
  Jonas Maebe 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending %!s(int64=6) %!d(string=hai) anos
  Jonas Maebe 28df55fe08 * moved handle_calling_convention() to pparautl %!s(int64=6) %!d(string=hai) anos