sergei
|
f42c1b3720
* Return dynamic arrays in parameter, this was the only managed type still returned in register. Returning managed types in registers requires catching and re-raising exceptions at callee side in order to finalize result and avoid memory leaks. While such behavior makes little difference with generic setjmp-based exception handling, it becomes very inefficient as SEH-styled exception handling is being introduced.
|
11 years ago |
Jonas Maebe
|
9e6764e443
* converted program termination to compilerproc/hlcg
|
11 years ago |
Jonas Maebe
|
cd92791d09
* converted unit initialization to compilerproc/hlcg
|
11 years ago |
nickysn
|
c1b0fb81f1
* updated all the RTL helper functions related to exceptions and stack traces to use codepointer instead of pointer
|
12 years ago |
sergei
|
b99cf8d680
* RTL: Changed 'shift' parameter of 64-bit shift helpers to CPU-native size, it doesn't have to be 64-bit because only its lower 6 bits are used. Not using 64 bit parameter improves code quality a bit.
|
12 years ago |
Jonas Maebe
|
3c3ad705f1
* changed fpc_(u)char_to_shortstr() from a procedure into a function, like
|
12 years ago |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
12 years ago |
nickysn
|
7e18ac90e5
* the 'len' argument of fpc_shortstr_assign changed to smallint on 16-bit cpus, because getintparaloc allocates 16-bit ints on i8086
|
12 years ago |
nickysn
|
cac6ac38d0
+ added RTL helpers for Val() for longint/dword on 16/8-bit CPUs
|
12 years ago |
nickysn
|
8b6b832677
+ added helper functions for read/readln longint/longword on 16/8-bit cpus
|
12 years ago |
nickysn
|
1e28790e99
* fpc_PushExceptAddr's parameter Ft changed from LongInt to SmallInt on 16-bit CPUs for better efficiency
|
12 years ago |
nickysn
|
3b2ea4df6c
+ implmemented FPC_LONGJMP for i8086
|
12 years ago |
nickysn
|
4dfbf148f2
+ added Str() helpers for 32-bit ints for 16/8-bit CPUs
|
12 years ago |
nickysn
|
697de721ef
+ added write/writeln helpers in the RTL for writing longints/longwords on 16/8-bit CPUs
|
12 years ago |
nickysn
|
5ea6f37247
+ implemented FPC_SETJMP for the i8086
|
12 years ago |
Jonas Maebe
|
e1e11f81e3
* fixed using readstr/writestr inside routines called from the parameter
|
12 years ago |
florian
|
d5985b4f0e
* patch by Christophe Staïesse to implement more ISO-like read behaviour in iso mode, resolves #24060
|
12 years ago |
florian
|
81e0e3114c
* throw an error if threadvars are used but not supported
|
12 years ago |
Jonas Maebe
|
9777699c70
* fixed compilation for targets with internal stack checking after r23325
|
12 years ago |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 years ago |
Jonas Maebe
|
7c578c3541
* made the pascal name of the string range checking helpers match
|
12 years ago |
Jonas Maebe
|
fe5a4baa15
- removed FPC 2.4 bootstrapping support
|
12 years ago |
pierre
|
14c5fceb45
Add fpc_longword_to_double
|
12 years ago |
florian
|
420cd9bd27
+ support for <text>^ in iso mode
|
13 years ago |
florian
|
2db4606eb0
* fix bootstrapping with 2.6.0
|
13 years ago |
florian
|
ff12d63248
+ generic popcnt support
|
13 years ago |
Jonas Maebe
|
aba6923187
* moved g_test_self() from cgobj to hlcgobj
|
13 years ago |
Jonas Maebe
|
b42d204514
* fpc_shortstr_assign as compilerproc, forgot to commit
|
13 years ago |
Jonas Maebe
|
7a0ae38700
+ also specify the parameter def when allocating a parameter via
|
13 years ago |
Jonas Maebe
|
baa8fa39a8
* converted code to trash variables (-gt) to operate at the node tree level,
|
13 years ago |