Jonas Maebe
|
baa8fa39a8
* converted code to trash variables (-gt) to operate at the node tree level,
|
13 years ago |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
svenbarth
|
bd19a16be9
Add support for Default() intrinsic. For now this is only (fully) supported
|
13 years ago |
paul
|
79b725990c
rtl: remove spaces
|
13 years ago |
sergei
|
f07d02b427
- Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff).
|
13 years ago |
sergei
|
568ef396fb
* Added fpc_dynarray_assign (a helper for dynamic array assignments), added local access to fpc_intf_assign, and switched fpc_copy to use assignment helpers instead of incr_ref/decr_ref combinations.
|
13 years ago |
sergei
|
40f29ffd7a
* Generate direct order of indexes passed to fpc_dynarray_setlength at compile time, eliminates the need of reversing them at runtime (in DynArraySetLength).
|
13 years ago |
sergei
|
49700e675c
* Changed code generation for variant assignments to typecast arguments to TVarData instead of using pointers. Fixes one (probably the ugliest one) case of non-disposed temp variables:
|
13 years ago |
florian
|
6a1a2d3464
* get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913
|
13 years ago |
sergei
|
009ee271ec
- Cleaned out STR_CONCAT_PROCS define
|
13 years ago |
sergei
|
724f41a9af
- Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day.
|
13 years ago |
Jonas Maebe
|
f67d7f08fc
* use temporary location to construct writestr() string, because the
|
13 years ago |
sergei
|
56900b4754
* RTL: clean up exception handling code (functionality is not changed).
|
13 years ago |
sergei
|
a32fdc3ae6
+ Added a simple helper tcg.g_call, intended to replace allocallcpuregisters+a_call_name+deallocallcpuregisters sequence which is used all over the place.
|
14 years ago |
sergei
|
0d3fa2d2db
- Cleaned out VER2_2 defines
|
14 years ago |
sergei
|
6e23565edf
+ Initialize/finalize variants using dedicated helpers, produces both smaller (no RTTI loading necessary) and faster (direct path taken) code.
|
14 years ago |
sergei
|
fa4b78363c
+ Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size.
|
14 years ago |
paul
|
31afa4bd14
rtl: remove fpc_ansistr_append_xxx routines which are no longer used by the compiler
|
14 years ago |
paul
|
451e48a033
rtl: replace PChar -> PAnsiChar, Char -> AnsiChar in astrings.inc routines
|
14 years ago |
paul
|
36851c86de
rtl: replace AnsiString to RawByteString arguments for Val() functions
|
14 years ago |
paul
|
485695d4e6
compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage
|
14 years ago |
paul
|
a769ef0ad2
compiler: don't return te_eual when we convert from RawByteString to another codepage
|
14 years ago |
paul
|
5560f6b3f2
compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string
|
14 years ago |
paul
|
7a998aec3a
compiler, rtl: add a codepage argument fpc_Read_Text_AnsiStr to create new AnsiString with the codepage of passed AnsiString argument
|
14 years ago |
paul
|
5ac95bc27a
merge r17607 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
05d66e31ce
merge r17603 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
aaf5392315
merge r17601 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
005795495d
merge r17552 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
22b19220a3
merge r17485 from cpstrnew branch by michael:
|
14 years ago |