svenbarth
|
f9957f30a5
* fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on)
|
4 жил өмнө |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
4 жил өмнө |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
4 жил өмнө |
florian
|
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
|
4 жил өмнө |
svenbarth
|
6160abe37e
* have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations)
|
4 жил өмнө |
svenbarth
|
c96029ebd5
* Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
|
4 жил өмнө |
svenbarth
|
43ba5b69d2
* ensure that the dummy symbol is registered if it's added due to a routine
|
4 жил өмнө |
svenbarth
|
2a897f5b6b
* apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions)
|
4 жил өмнө |
florian
|
f0298f63d0
* allow absolute variables with an address to be used as syscall base
|
4 жил өмнө |
svenbarth
|
3d2ee097b5
* fix for Mantis #38083: ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym
|
4 жил өмнө |
Jonas Maebe
|
1c61c30cd2
* added "const" to some string parameters
|
4 жил өмнө |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 жил өмнө |
yury
|
721e89fafd
* msdos: Force names of external routines to be all uppercase only in TP mode.
|
5 жил өмнө |
yury
|
9d3b105fab
* msdos: By default external routine names with the pascal calling convention must be all upper case. This is TP and TASM compatible.
|
5 жил өмнө |
svenbarth
|
56fdba2c9b
* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption
|
5 жил өмнө |
svenbarth
|
60345366f2
* fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
|
5 жил өмнө |
svenbarth
|
752ff32333
* fix WinAPI directive: the purpose is to present the OS' default calling convention which for Windows means stdcall (at least on those platforms that support stdcall) on other platforms it is cdecl (for now)
|
5 жил өмнө |
svenbarth
|
2ad3c6dd97
* fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
|
5 жил өмнө |
florian
|
b7afb2431c
* do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584
|
5 жил өмнө |
svenbarth
|
8111e92e1f
* rework syntax for cblocks: now a cblock directive is required
|
5 жил өмнө |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
6 жил өмнө |
svenbarth
|
a72553eea2
* disable [...] syntax for procedure directives if modeswitch "prefixed attributes" is enabled; they conflict otherwise and it's not easily resolveable
|
6 жил өмнө |
svenbarth
|
2e4d8e36a5
* fix for Mantis #35670: when a unused dummy symbol is found for a non-generic procedure/function, hide that dummy symbol and create a new symbol for the procedure/function
|
6 жил өмнө |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 жил өмнө |
Jeppe Johansen
|
12879adc2f
- Adds intrinsics to save/restore SREG when disabling interrupts.
|
6 жил өмнө |
Jonas Maebe
|
0b61b5d4cf
* added extra header to ppu inside a subsection, so we won't run into
|
6 жил өмнө |
Károly Balogh
|
5358851f84
* clean up some things regarding explicit paraloc handling. this should fix m68k-amiga and powerpc-morphos builds after r41716
|
6 жил өмнө |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 жил өмнө |
Jonas Maebe
|
8b9e90dc7a
* keep track of whether a routine has a C-style variadic parameter in the
|
6 жил өмнө |
Jonas Maebe
|
503ea604f3
+ nolinline modifier to specify that a routine must never be inlined
|
6 жил өмнө |