sergei
|
b223e104ac
Refactoring:
|
vor 14 Jahren |
florian
|
20b1e3af78
Merging of generics branch of Sven Barth
|
vor 14 Jahren |
sergei
|
270fc39432
* An open array/array of const parameter passed by value and requiring a local copy on heap (currently all targets except non-Darwin i386 ones) should not be placed into register and should force procedure to have an implicit finally block.
|
vor 14 Jahren |
sergei
|
c8e65c501a
* Don't optimize away implicit initialization/finalization procedures if corresponding clause is present in the source but is empty. Resolves #19701.
|
vor 14 Jahren |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
vor 14 Jahren |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
vor 14 Jahren |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
vor 14 Jahren |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
vor 14 Jahren |
sergei
|
6cb6569d51
* Set pi_uses_exceptions flag when creating/firstpassing ttryexceptnode or ttryfinallynode, not when parsing try statements. It ensures that procedures with exception handling nodes created by compiler (constructors in the first place, but also for..in loops with TObject iterators, etc.) are handled the same way as ones containing exception nodes from user code.
|
vor 14 Jahren |
svenbarth
|
feeff56099
We need to flag specializations of record-/objectdef once we have generated their methods otherwise an interesting situation might occur:
|
vor 14 Jahren |
sergei
|
fa4b78363c
+ Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size.
|
vor 14 Jahren |
florian
|
c6a0cafdb0
* don't generate implicit exception frames for pure assembler routines, resolves #20075
|
vor 14 Jahren |
florian
|
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
|
vor 14 Jahren |
sergei
|
b997094755
+ Generate unwind bytecode for function prologues on win64.
|
vor 14 Jahren |
Jonas Maebe
|
125c0cf225
+ support for generics on the JVM target:
|
vor 14 Jahren |
pierre
|
57f3f0a82b
scanner unit:
|
vor 14 Jahren |
florian
|
cf0d808708
+ avr assemblers do not convert automatically cond. branches with too large jump distances into an unconditional branch and a reverse condition branch, so fpc does this now
|
vor 14 Jahren |
Jonas Maebe
|
69abbba6bb
* split several parameter insertion helpers out from pdecsub for
|
vor 14 Jahren |
Jonas Maebe
|
2376003cd0
* wrap the init/finalization code even when it is implicitly generated
|
vor 14 Jahren |
Jonas Maebe
|
1c3f0c7a2f
* also wrap the initcode of main programs, so that typed constants get
|
vor 14 Jahren |
Jonas Maebe
|
8fa42c206f
+ support for nested procedures for the JVM target
|
vor 14 Jahren |
Jonas Maebe
|
e775e2d9ae
* moved gen_entry_code/gen_exit_code from ncgutil to hlcgobj,
|
vor 14 Jahren |
Jonas Maebe
|
f27ebf8b6d
+ explicitly add constructors of parent class that do not appear in the
|
vor 14 Jahren |
Jonas Maebe
|
23539dcfaf
* only call add_synthetic_method_implementations() for the localst after
|
vor 14 Jahren |
Jonas Maebe
|
43c5ed20c2
+ support for initialising typed constants via compiler-generated
|
vor 14 Jahren |
Jonas Maebe
|
00df370d36
* don't give an internalerror when adding a constructor to a Java
|
vor 14 Jahren |
Jonas Maebe
|
f57e9778d4
* migrated gen_initialize_code and gen_finalize_code from ncgutil to
|
vor 14 Jahren |
Jonas Maebe
|
019ca93a04
* symcreat functionality to use the parser from inside the compiler for
|
vor 14 Jahren |
Jonas Maebe
|
4adb9a7ceb
- removed (non-working) implicit try/finally support for the JVM, and
|
vor 14 Jahren |
Jonas Maebe
|
09207563d5
+ hlcg implementation of gen_load_para_value(); no support yet for copying
|
vor 14 Jahren |