pierre
|
18698bc93d
Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG
|
13 years ago |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 years ago |
Jonas Maebe
|
7a0ae38700
+ also specify the parameter def when allocating a parameter via
|
13 years ago |
Jonas Maebe
|
edd42aa42a
* moved subsetref/reg and bit_set/test support from cgobj to hlcgobj for
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
sergei
|
fa98e0523d
* Safecall handling: forgot to free cgpara before doing the call, fixed.
|
13 years ago |
sergei
|
f6761d7939
* Handle safecall exceptions entirely in tcgtryfinallynode pass2. This simplifies things and removes the need in hidden safe_result variable.
|
13 years ago |
sergei
|
8c9ad67682
+ tcgexitnode,tcgbreaknode,tcgcontinuenode: added possibility to generate specialized code for leaving unwind-protected regions.
|
13 years ago |
sergei
|
e2d43fcb30
- tcgonnode: don't store exception object in temp if it is not used.
|
14 years ago |
sergei
|
a32fdc3ae6
+ Added a simple helper tcg.g_call, intended to replace allocallcpuregisters+a_call_name+deallocallcpuregisters sequence which is used all over the place.
|
14 years ago |
sergei
|
9ed2fa6f7b
- Exception handling: calling FPC_CATCHES(-1) is obsolete, it does not change any state and its return value is not used. Removed.
|
14 years ago |
Jonas Maebe
|
0a3a62811b
+ try/except and try/finally support for JVM target:
|
14 years ago |
Jonas Maebe
|
e9f1856a61
* converted non-exception-related nodes to thlcgobj
|
14 years ago |
florian
|
d9ed5adb21
* set line info markers properly, resolves #17803
|
14 years ago |
joost
|
65ab1e820b
* Safecall on linux/i386 now behaves like cdecl plus hidden exception support.
|
15 years ago |
florian
|
ad23569cf1
* renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto
|
15 years ago |
Jonas Maebe
|
283018a3bf
* changed tprocdef.funcretloc[] from a tlocation into a tcgpara so it can
|
15 years ago |
Jonas Maebe
|
9bc15a5f61
* renamed a_param_* to a_load_*_cgpara
|
15 years ago |
Jonas Maebe
|
d8a902b4c4
* fixed internalerror in case the from-value of a for-loop has loc_jump
|
15 years ago |
paul
|
e2fdfc426f
compiler: fix safecall result handling if it is placed to a register
|
15 years ago |
paul
|
b884d568e1
compiler: fix 64bit safecall handling
|
15 years ago |
paul
|
cf0a1b1af9
compiler: safecall exception handling:
|
15 years ago |
florian
|
c1f3d8dcaa
* unified names of system_*/systems_* sets
|
15 years ago |
Jonas Maebe
|
4838ebe73b
* renamed mark_InlineStart/mark_InlineEnd to mark_NoLineinfoStart/
|
15 years ago |
Jonas Maebe
|
d644fc87a1
* handle loc_jump/loc_flags in for-loop upper bound (mantis #15169)
|
15 years ago |
Jonas Maebe
|
1f6ec379de
* moved field definitions before method/property definitions (see mantis
|
16 years ago |
Jonas Maebe
|
c1e327c8c4
* insert register allocation/deallocation information for the exception
|
16 years ago |
Jonas Maebe
|
7d459cf12a
* the compiler now explicitly keeps track of the minimally guaranteed
|
16 years ago |
Jonas Maebe
|
718694d1d6
* always specify an explicit alignment for tgobj.gettemp (so e.g.
|
17 years ago |
Jonas Maebe
|
a23630260b
+ "weakexternal" support for imported procedures and variables.
|
17 years ago |