svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
há 14 anos atrás |
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.
|
há 14 anos atrás |
svenbarth
|
feeff56099
We need to flag specializations of record-/objectdef once we have generated their methods otherwise an interesting situation might occur:
|
há 14 anos atrás |
sergei
|
fa4b78363c
+ Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size.
|
há 14 anos atrás |
florian
|
c6a0cafdb0
* don't generate implicit exception frames for pure assembler routines, resolves #20075
|
há 14 anos atrás |
florian
|
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
|
há 14 anos atrás |
sergei
|
b997094755
+ Generate unwind bytecode for function prologues on win64.
|
há 14 anos atrás |
Jonas Maebe
|
125c0cf225
+ support for generics on the JVM target:
|
há 14 anos atrás |
pierre
|
57f3f0a82b
scanner unit:
|
há 14 anos atrás |
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
|
há 14 anos atrás |
Jonas Maebe
|
69abbba6bb
* split several parameter insertion helpers out from pdecsub for
|
há 14 anos atrás |
Jonas Maebe
|
2376003cd0
* wrap the init/finalization code even when it is implicitly generated
|
há 14 anos atrás |
Jonas Maebe
|
1c3f0c7a2f
* also wrap the initcode of main programs, so that typed constants get
|
há 14 anos atrás |
Jonas Maebe
|
8fa42c206f
+ support for nested procedures for the JVM target
|
há 14 anos atrás |
Jonas Maebe
|
e775e2d9ae
* moved gen_entry_code/gen_exit_code from ncgutil to hlcgobj,
|
há 14 anos atrás |
Jonas Maebe
|
f27ebf8b6d
+ explicitly add constructors of parent class that do not appear in the
|
há 14 anos atrás |
Jonas Maebe
|
23539dcfaf
* only call add_synthetic_method_implementations() for the localst after
|
há 14 anos atrás |
Jonas Maebe
|
43c5ed20c2
+ support for initialising typed constants via compiler-generated
|
há 14 anos atrás |
Jonas Maebe
|
00df370d36
* don't give an internalerror when adding a constructor to a Java
|
há 14 anos atrás |
Jonas Maebe
|
f57e9778d4
* migrated gen_initialize_code and gen_finalize_code from ncgutil to
|
há 14 anos atrás |
Jonas Maebe
|
019ca93a04
* symcreat functionality to use the parser from inside the compiler for
|
há 14 anos atrás |
Jonas Maebe
|
4adb9a7ceb
- removed (non-working) implicit try/finally support for the JVM, and
|
há 14 anos atrás |
Jonas Maebe
|
09207563d5
+ hlcg implementation of gen_load_para_value(); no support yet for copying
|
há 14 anos atrás |
Jonas Maebe
|
ab5b1fb686
* turned call_fail_node, initialize_data_node, and finalize_data_node from
|
há 14 anos atrás |
Jonas Maebe
|
28740dce2d
- removed extra "fordefinition" parameter again from tprocdef.mangledname(),
|
há 14 anos atrás |
Jonas Maebe
|
eb5814a868
* implemented declaring and calling constructors for Java classes
|
há 14 anos atrás |
Jonas Maebe
|
71deda6f50
+ added interface to ncgutil.gen_load_loc_cgpara() to hlcgobj + generic
|
há 14 anos atrás |
Jonas Maebe
|
742f4ee12e
+ first (partial) implementation of thlcg for the jvm
|
há 14 anos atrás |
Jonas Maebe
|
0ee702b3a2
* tprocdef.mangledname now gets an extra boolean parameter indicating
|
há 14 anos atrás |
Jonas Maebe
|
0e16369906
* moved gen_proc_symbol() and gen_proc_symbol_end() from ncgutil to hlcgobj
|
há 14 anos atrás |