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
|
пре 5 година |
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 година |