Cronologia Commit

Autore SHA1 Messaggio Data
  florian 64e2c2b914 + simplify succ/pred(<const>/x+/-x<const>) 8 anni fa
  florian 000cffa8e3 * make more use of nf_internal to avoid range check errors 8 anni fa
  florian e4d60b2048 * factored out tinlinenode.getaddsub_for_incdec from first_IncDec so it can be used independently 8 anni fa
  florian 9c81e90e08 + extension to iso mode: reset/rewrite can take a file name as a second parameter 9 anni fa
  nickysn d6007d650a * use tpointerdef.pointer_arithmetic_int/uint_type in tinlinenode.pass_typecheck 9 anni fa
  nickysn e847971477 * use the actual ValSInt type from the system unit, instead of ptrsinttype when 9 anni fa
  svenbarth 26a2ddd3d6 + extend Delete() intrinsics with Delphi compatible support for dynamic arrays. Also fixes Mantis #30306 9 anni fa
  svenbarth 17bb29ddc3 Check for tf_winlikewidestring in the target's flags instead of relying on the target being a Windows system when determining whether the system as the WideString type that's separate from UnicodeString 9 anni fa
  svenbarth aaff6d0b97 Allow Delete() and Insert() to be used with generic types as arguments. 9 anni fa
  svenbarth a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 anni fa
  svenbarth 8c96fbed8f Fix for Mantis #28832 9 anni fa
  Jonas Maebe abe8d44f37 * changed allocating a temp with type sinttype and size sinttype*dims for 9 anni fa
  svenbarth 8287773b16 Reverted revision 33036. This feature is too controverse to be left in. 9 anni fa
  svenbarth ed94ca4b24 Add support for IfThen() instrinsic that works like the if-statement in that it evaluates only the expression that is indeed executed. 9 anni fa
  Jonas Maebe 8917633199 * implement sizeof/typeof completely at the node level, based on 9 anni fa
  svenbarth 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 9 anni fa
  florian 70b8789262 o basic extended pascal support: 9 anni fa
  Jonas Maebe 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 10 anni fa
  florian f00a55ae08 + tinlinenode.createintern 10 anni fa
  Jonas Maebe 67b8aceaee * synchronized with privatetrunk till r30095 10 anni fa
  Jonas Maebe 68303b8df1 * add explicit check that argument of sizeof(x) is a simple load node (this 10 anni fa
  florian 0dfbba86f3 * properly firstpass nodes when inc(...) is converted into ...:=...+x, resolves #27471 10 anni fa
  florian c9ba9665dd * set nf_internal for if nodes generated by assert, prevent warning for assert(true); resolves #26467 10 anni fa
  nickysn a9e1419ee3 * extracted the pass 1 handling of inc/dec to a virtual method first_IncDec 10 anni fa
  pierre a77735d7af Fix bug in in_const_swap_qword handling 10 anni fa
  Jonas Maebe e8026ad8d3 * fixed the resultdef of length() intrinsic: it's ossinttype rather than 11 anni fa
  sergei 04d8e8a5dc * On 64-bit targets, handle abs(int64) internally, using the same code as for abs(longint), i.e. without branching. Both generic and x86-specific pass 2 code is already suitable for different operand sizes, only type checking needs removal of excessive conversions to 32 bits. 11 anni fa
  svenbarth 34394d6925 Fix for Mantis #26180. Accept undefineddef as first parameter type of an Assert if it is used inside a generic. 11 anni fa
  sergei 274c2fc82f * handle_ln_const: if/else branches were swapped, correct values are: ln(0)=-Inf and ln(-#)=NaN. 11 anni fa
  sergei 743326dc70 * abs(): when translated to generic fpc_abs_real() helper, typecast result back to original precision, similar to how it is done for sqr and sqrt. Fixes compilation on m68k after r27808 (m86k looks like the only target still needing this generic handling). 11 anni fa