Commit Graph

7425 Commits

Author SHA1 Message Date
peter
2d62e884c8 * only give warnings for uninitialized variables in low()/high()
if the value is calculated at runtime
2005-04-15 15:50:18 +00:00
peter
9db3d9e07c * -Fe on commandline redirects now all output 2005-04-15 15:43:54 +00:00
florian
b077b506d3 * another update by Ido 2005-04-10 08:11:14 +00:00
peter
88681a14c7 support string[index] for const/var assignment 2005-04-08 15:18:32 +00:00
peter
1b41aad3a0 remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode) 2005-04-08 15:18:08 +00:00
peter
68ac3b0ab2 remove forcing of non-regvar for left node when converting to non-regvar 2005-04-08 15:16:37 +00:00
peter
41c253b65d * during spilling only add deallocs to live_registers that belong
to the instruction
2005-04-07 16:25:05 +00:00
peter
e207c402fc * only in EXTDEBUG leave register allocator when it fails. Otherwise
give an IE
2005-04-07 15:42:04 +00:00
florian
e33bf907d8 * fixed previous commit 2005-04-06 19:39:04 +00:00
florian
1f4e15705c * hidden parameters can be put now in registers as well 2005-04-06 19:09:39 +00:00
michael
55e76063df * Fix methodpointer copy from callnode to loadnode 2005-04-06 11:49:37 +00:00
michael
3e54552235 + * fix constant folding for string+char (from Peter) 2005-04-06 07:31:51 +00:00
peter
521b7cfa3b * load all complex loads of parameters that are needed multiple times
to a temp to prevent calling functions twice
2005-04-05 21:07:43 +00:00
peter
50bbe3c205 * support typecasting a ordinal const to 8 byte record. a_param_loc
can't be used. Instead force the location to memory so it uses
    a_param_ref
2005-04-05 21:06:44 +00:00
peter
218930cf11 * support open array to pointer 2005-04-04 16:30:07 +00:00
peter
494e190694 * fix register allocation in second_assert 2005-04-04 16:04:47 +00:00
florian
c5c6df8237 * class ref. properties can be published now 2005-04-03 15:20:42 +00:00
olle
f60d0b98b7 * Bugfix 2005-04-03 08:48:58 +00:00
marco
8d69beb6ef * from peter for bug #3862 2005-04-01 07:12:29 +00:00
olle
afdcfb08ce * Disabled warning for undefined compile time var in mode macpas, since it did not work. 2005-03-28 21:34:36 +00:00
peter
a96693cee1 support (wide)char to pwidechar 2005-03-28 15:19:18 +00:00
peter
e71066495c fix type of temps generated for parameters during inlining 2005-03-28 15:05:17 +00:00
peter
6e3d03da7e valid_property is only used for calln. Fields are always allowed 2005-03-28 15:04:40 +00:00
peter
3446cb0f2f fix loading of inline info 2005-03-28 15:04:13 +00:00
florian
10df6ea0a2 * fpc_variant_get call fixed 2005-03-28 14:14:52 +00:00
florian
a680ccb389 + variants are now assigned using fpc_variant_copy 2005-03-28 13:36:15 +00:00
peter
12283206d1 named sections for intf wrappers 2005-03-28 13:10:22 +00:00
florian
252fa84c62 + compiler support for reading/writing of vararrays 2005-03-27 20:19:21 +00:00
Jonas Maebe
bfa2301575 * const record parameters > 8 bytes are now passed by reference for non
cdecl/cppdecl procedures on Mac OS/Mac OS X to fix compatibility with
    GPC (slightly more efficient than Metrowerks behaviour below, but
    less efficient in most cases than our previous scheme)
  + "mwpascal" procedure directive to support the const record parameter
    behaviour of Metrowerks Pascal, which passes all const records by
    reference
2005-03-27 14:10:52 +00:00
Jonas Maebe
6578fb25bb - removed unused variables 2005-03-25 23:03:04 +00:00
peter
3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 2005-03-25 22:20:18 +00:00
Jonas Maebe
a5c94ddccd * removed some unused variables 2005-03-25 21:55:43 +00:00
Jonas Maebe
9fc51ed8f0 * terrornode.create -> cerrornode.create 2005-03-25 21:46:06 +00:00
Jonas Maebe
0b3003fb78 - removed unused variables 2005-03-25 21:22:30 +00:00
Jonas Maebe
bb27e8b024 * fixeed uninitialised variable
- removed unused local variables
2005-03-25 21:21:30 +00:00
peter
bd34e0dd69 * don't remove repeat until node in repeat until true; 2005-03-24 23:06:43 +00:00
florian
409eec37c3 * small compilation fix 2005-03-24 13:30:17 +00:00
olle
878c56bad6 * Cleaned up handling of source file extension.
+ Added support for .p extension for macos and darwin
2005-03-20 22:36:45 +00:00
florian
1323b56132 * USECMOV activated 2005-03-20 21:41:29 +00:00
florian
33ec5d49c5 * USECMOV fixed 2005-03-20 21:41:10 +00:00
peter
5452cccaad * fix spilling code when explicit cpu registers are used in an
instruction
2005-03-20 19:47:46 +00:00
olle
7cb6368f12 * Support for pascal constant expr in compile time expr, is now only allowed in mode Delphi
+ Warning for undefined compile time var in mode macpas
  * Support for some turbo directives in mode macpas
  * Support for Metrowerks style DEFINED xxx
2005-03-20 18:13:34 +00:00
peter
ae0eb8d607 don't check size differences for booleans 2005-03-18 16:41:27 +00:00
michael
efbc08d4b2 + Patch from peter to fix overload directive cheking in delphi mode 2005-03-17 09:08:54 +00:00
peter
dbcfe36b70 * check parameters of str() better 2005-03-16 21:24:43 +00:00
peter
e250290e57 * allow property in objects in all modes except tp 2005-03-16 21:09:22 +00:00
peter
20ad7813c2 * fix empty varargs codegeneration for x86_64 2005-03-14 20:18:46 +00:00
peter
a82ee06691 * for methodpointers compare only proc field 2005-03-14 20:18:22 +00:00
peter
aee4b7bcf7 * also set intsize for paralocs written to ppu 2005-03-14 15:59:18 +00:00
florian
0cd81efba7 + storing non-extended floats to memory generates now a fwait to get exceptions at the correct place 2005-03-13 17:15:26 +00:00