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 years ago |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
4 years ago |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
4 years ago |
florian
|
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
|
4 years ago |
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 years ago |
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 years ago |
svenbarth
|
43ba5b69d2
* ensure that the dummy symbol is registered if it's added due to a routine
|
4 years ago |
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 years ago |
florian
|
f0298f63d0
* allow absolute variables with an address to be used as syscall base
|
4 years ago |
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 years ago |
Jonas Maebe
|
1c61c30cd2
* added "const" to some string parameters
|
4 years ago |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 years ago |
yury
|
721e89fafd
* msdos: Force names of external routines to be all uppercase only in TP mode.
|
5 years ago |
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 years ago |
svenbarth
|
56fdba2c9b
* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption
|
5 years ago |
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 years ago |
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 years ago |
svenbarth
|
2ad3c6dd97
* fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
|
5 years ago |
florian
|
b7afb2431c
* do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584
|
5 years ago |
svenbarth
|
8111e92e1f
* rework syntax for cblocks: now a cblock directive is required
|
5 years ago |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
5 years ago |
svenbarth
|
a72553eea2
* disable [...] syntax for procedure directives if modeswitch "prefixed attributes" is enabled; they conflict otherwise and it's not easily resolveable
|
6 years ago |
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 years ago |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 years ago |
Jeppe Johansen
|
12879adc2f
- Adds intrinsics to save/restore SREG when disabling interrupts.
|
6 years ago |
Jonas Maebe
|
0b61b5d4cf
* added extra header to ppu inside a subsection, so we won't run into
|
6 years ago |
Károly Balogh
|
5358851f84
* clean up some things regarding explicit paraloc handling. this should fix m68k-amiga and powerpc-morphos builds after r41716
|
6 years ago |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 years ago |
Jonas Maebe
|
8b9e90dc7a
* keep track of whether a routine has a C-style variadic parameter in the
|
6 years ago |
Jonas Maebe
|
503ea604f3
+ nolinline modifier to specify that a routine must never be inlined
|
6 years ago |