sergei
|
d11ec8ac47
- Reverted r25269 and commented out r25261. The former one is wrong because it changes unit initialization order. The latter one causes RTL build failures on some targets, needs testing and likely RTL/makefiles patching.
|
12 лет назад |
sergei
|
c558991d8f
* Implicitly use Variants unit when (ole)Variant type appears as a function/operator result and nowhere else. Mantis #24863.
|
12 лет назад |
pierre
|
91bc424694
Fix bug report 24612:
|
12 лет назад |
florian
|
37df6f6455
* nostackframe now results in an error if used on pascal subroutines
|
12 лет назад |
svenbarth
|
8353d53b69
Fix for Mantis #22433.
|
12 лет назад |
svenbarth
|
376bd046aa
Don't allow "static" for class operators or normal methods (except in objects).
|
12 лет назад |
svenbarth
|
168c9d152f
Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators.
|
12 лет назад |
svenbarth
|
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
|
12 лет назад |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
13 лет назад |
florian
|
04543b179f
o merge of the branch laksen/arm-embedded of Jeppe Johansen:
|
13 лет назад |
pierre
|
be5839e44a
Add warning/error message about possible problems with nostackframe modifier
|
13 лет назад |
Jeppe Johansen
|
8b17a358e4
Remove all traces of the interrupt vector table generation mechanism
|
13 лет назад |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 лет назад |
Jonas Maebe
|
fe90823b01
* support the "overload" modifier for Objective-C methods
|
13 лет назад |
florian
|
3a6446e6d1
* address parameters must be vr_addr regable
|
13 лет назад |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
13 лет назад |
Jonas Maebe
|
aad3ce960a
* give an error when trying to give a parameter of a non-simple type a
|
13 лет назад |
florian
|
eb1efdff8a
+ introduce cstylearrayofconst because pocall_mwcall was forgotten at several places
|
13 лет назад |
Jonas Maebe
|
adf66eed8b
* don't turn constref shortstring parameters into openstrings (they can't
|
13 лет назад |
svenbarth
|
75bf094e3f
Fix for Mantis #21064.
|
13 лет назад |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 лет назад |
Jonas Maebe
|
50659b7e7f
* give an error if a routine definition defines default values for
|
13 лет назад |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
13 лет назад |
svenbarth
|
4fc7515591
* pdecsub.pas, parse_proc_dec: always parse operator overload heads as block type bt_body so that operators like ">", "=>" or "<>" are resolved to the correct tokens ("<>" would be a sequence of "_LSHARPBRACKET _RSHARPBRACKET" instead of _NE otherwise). Fixes Mantis #21127
|
13 лет назад |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 лет назад |
florian
|
f4af507321
* inline is only a hint to the compiler which might be ignored so throw only a hint and not a warning if subroutine cannot be inlined
|
13 лет назад |
Jonas Maebe
|
3589f90cf8
* also show the valid bounds in most cases when signalling a range check
|
13 лет назад |
paul
|
d752ce2c11
compiler:
|
13 лет назад |
sergei
|
898fbdcd26
* Disallow placing hidden 'high' parameter in register if it will be accessed from implicit finally block (happens for <value open array of managed type> parameters).
|
13 лет назад |
Jonas Maebe
|
0d5b2b84a8
+ Android/JVM target, including a translation of the Android r14 SDK
|
14 лет назад |