svenbarth
|
f406867100
Merged revision(s) 31929-31931,32547 from branches/svenbarth/packages:
|
9 years ago |
svenbarth
|
345d83c3e3
Merge RTTI changes from packages branch (including adjustments that were required due to changes in trunk since then). These changes favor source backwards compatibility in contrast to Delphi compatibility. Binary compatiblity is however drastically broken due to the indirect references that are platform independant!
|
9 years ago |
Jonas Maebe
|
d5e5ca0531
* fixed conversion of LOC_JUMP in location_force_reg() for C-style booleans
|
9 years ago |
svenbarth
|
99189db897
hlcgobj.pas, thlcgobj:
|
9 years ago |
Jonas Maebe
|
fe5cf94e10
* moved generation of initialisation/finalisation nodes from the code
|
9 years ago |
Jonas Maebe
|
ffe4e7fada
* addition to r32779: also fix the type correctness of the array parameter
|
9 years ago |
nickysn
|
18538494b9
* use the high level code generator's getaddressregister method in thlcgobj.maybe_change_load_node_reg
|
9 years ago |
Károly Balogh
|
56fea8d047
* have regvars in address registers for defs which are address types. improves code with reference bases in regvars on m68k. and also reduces data register pressure.
|
9 years ago |
pierre
|
40193ea1db
Add pi_has_open_array_parameter to proc_info.flags as this requires special handling for i8086 huge memory model to restore DS register correctly
|
9 years ago |
Jonas Maebe
|
1a09209659
* fixed type correctness of array parameter handling for calls to
|
9 years ago |
Jonas Maebe
|
7a8079cfb4
* removed DLLsource global variable and replaced its uses with
|
9 years ago |
Jonas Maebe
|
2046220f56
+ helper methods to load a field into a register
|
9 years ago |
Jonas Maebe
|
a9498b6735
* fixed the parameter order for thlcgobj.g_load_const_field_by_name()
|
9 years ago |
Jonas Maebe
|
4f4d4d9456
* also support non-pointerdefs as first argument for g_ptrtypecast_ref()
|
9 years ago |
Jonas Maebe
|
688b9c0a69
* use the correctly typecasted reference in a_bit_set_reg_ref
|
9 years ago |
Jeppe Johansen
|
5ec4d38231
Add support for ram-less AVR chips and simultanously optimize flash/ram size the initfinal calling sequence.
|
9 years ago |
Jonas Maebe
|
be69fbef4f
* fixed type used to store copied open array value parameters
|
9 years ago |
Jonas Maebe
|
00a5dd87c9
* allow g_ptrtypecast_reg() to allocate a new register, because spilling
|
9 years ago |
Jonas Maebe
|
eaeb9d8351
* renamed thlcgobj.g_set_addr_nonbitpacked_record_field_ref() to
|
9 years ago |
Jonas Maebe
|
949fd53a0a
- reverted r32315: targets using the high level code generator should keep
|
9 years ago |
Jonas Maebe
|
ae5a355f06
* helpers to load registers/constants into a record field at the hlcg level
|
9 years ago |
Jonas Maebe
|
cf925a108d
* support multiple paralocs, force the source to memory in
|
9 years ago |
Jonas Maebe
|
d99de6d8f5
* support complex procvardefs in thlcgobj.location_force_mem() in case they
|
9 years ago |
Jonas Maebe
|
faf4a9cb38
* moved the generation of the "main" stub for libc-based platforms from
|
10 years ago |
Jonas Maebe
|
9ee2a0f71c
+ g_set_addr_nonbitpacked_record_field_ref() thlcgobj method to make a
|
10 years ago |
Jonas Maebe
|
6dd06a1aae
* put the code for pure assembler routines in a separate asmlist, so
|
10 years ago |
Jonas Maebe
|
0fc1fd6ac1
* replaced current_procinfo.currtrue/falselabel with storing the true/false
|
10 years ago |
Jonas Maebe
|
f402b0d7df
* changed getpointerdef() into a tpointerdef.getreusable() class method
|
10 years ago |
Jonas Maebe
|
b39bc5888a
* moved the import name handling entirely to hlcgobj so it can be
|
10 years ago |
Jonas Maebe
|
1019a6b090
* use the def of the paraloc rather than the parasym's vardef in
|
10 years ago |