Jeppe Johansen
|
8b8f905d46
Merged with trunk, and fixed some errors introduced.
|
9 years ago |
florian
|
3c2dab9878
* i386 peephole assembler uses largely the common peephole optimizer infrastructure, the resulting code is besides a few improvements the same
|
9 years ago |
svenbarth
|
0a8d531b8d
Merged revision(s) 32582-32583, 32635, 32637, 32639 from branches/svenbarth/packages:
|
9 years ago |
svenbarth
|
35f8d5427f
Revert r31262. Not doing type checking on generics leads to strange warnings (e.g. because variables are not considered as written). I better deal with the compile time errors one at a time than the warnings.
|
9 years ago |
svenbarth
|
e9fab1bfee
Fix for Mantis #29080.
|
9 years ago |
svenbarth
|
557f74cdbd
(Note to self: always include the root of the working copy in the commit when dealing with merges -.-)
|
9 years ago |
Jonas Maebe
|
8164d5aaf4
* don't make all procdef symbols global if we are using section-based
|
9 years ago |
Jonas Maebe
|
31bd38c45b
* only add the procdef's parentfpinitblock if there are any statements in it
|
9 years ago |
Jonas Maebe
|
7a8079cfb4
* removed DLLsource global variable and replaced its uses with
|
9 years ago |
svenbarth
|
8bd79f95be
Fix a few typos discovered by Blaise
|
9 years ago |
yury
|
17358aa3ed
* Removed unused local vars.
|
9 years ago |
svenbarth
|
3c41e50f2f
Implement generation of method bodies for generic functions.
|
9 years ago |
svenbarth
|
d3660fec31
Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz".
|
9 years ago |
Jonas Maebe
|
1e1e4b96e0
* don't store node trees for inline generic routines, as they contain
|
9 years ago |
svenbarth
|
529677cc79
ncal.pas:
|
10 years ago |
yury
|
11a9ff4a43
* Removed unused vars for mipsel compiler.
|
10 years ago |
yury
|
432248cbf1
* Removed lot of unused vars.
|
10 years ago |
Jonas Maebe
|
2205549316
* changed fix for webtbs/tw20075 so that we don't check the need for
|
10 years ago |
svenbarth
|
e8fca1c9c0
* move tspecializationstate from pgenutil.pas into a new unit named pgentype.pas which contains types related to generics with as few dependencies as possible.
|
10 years ago |
Jonas Maebe
|
a58504990a
* fixed llvm handling of routines that are normally declared in the
|
10 years ago |
florian
|
9a55e8fa3c
* do not call typecheckpass unncessarily in generic definitions, it might cause only errors, resolves #28058
|
10 years ago |
Jonas Maebe
|
b39bc5888a
* moved the import name handling entirely to hlcgobj so it can be
|
10 years ago |
Jonas Maebe
|
2cdf969649
* don't define asmsymbols for weak external functions as local/global
|
10 years ago |
florian
|
420309ec59
* reduce dependencies of the procinfo unit
|
10 years ago |
florian
|
f972398a8c
+ main program never returns
|
10 years ago |
Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
10 years ago |
florian
|
932b68310e
* do not warn about internally generated parameters, resolves #25914
|
10 years ago |
sergei
|
adeb8c93e9
* Set pi_do_call flag explicitly when procedure has a parameter or local var that require finalization. Normally it is set by implicit try..finally node, but this node is absent when compiling in {$implicitexceptions off} mode. This may cause internal errors in pass 2 if pi_do_call has not been set by other means.
|
10 years ago |
Jonas Maebe
|
eb419b58c5
- disable inlining of routines that contain a call to a C-style varargs
|
10 years ago |
florian
|
69ac7dd7ef
* limit initialization to register variables which really need to be initialized
|
10 years ago |