pierre
|
0a4f75ce7a
Add explicit zeroing of trttiparaloc record to avoid hash calculation issues
|
4 gadi atpakaļ |
yury
|
4e1e35aef5
* Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para.
|
5 gadi atpakaļ |
yury
|
7bffafdf8b
* Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines.
|
5 gadi atpakaļ |
florian
|
84a1f614d9
* fix several double ;
|
5 gadi atpakaļ |
yury
|
627fcb4354
* Do not use the LOC_VOID location to indicate unused parameters.
|
5 gadi atpakaļ |
Jonas Maebe
|
1e3f72403e
* renamed getintparaloc to getcgtempparaloc
|
5 gadi atpakaļ |
Jonas Maebe
|
e775ecdc43
* cleaned up safecall support: use a hidden localvarsym instead of result
|
5 gadi atpakaļ |
Jonas Maebe
|
77658b925b
* disable regular array -> dynamic array type coversion support unless
|
6 gadi atpakaļ |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 gadi atpakaļ |
Jonas Maebe
|
8b9e90dc7a
* keep track of whether a routine has a C-style variadic parameter in the
|
6 gadi atpakaļ |
florian
|
68eb921d46
* broken compilation after r39347 fixed
|
7 gadi atpakaļ |
Jonas Maebe
|
d69ad8fa41
* removed temppos field again from parameter locations: they're not allocated
|
7 gadi atpakaļ |
Jonas Maebe
|
4686f61002
* keep track of the temp position separately from the offset in references,
|
7 gadi atpakaļ |
nickysn
|
518cdf9674
* replaced the saved_XXX_registers arrays with virtual methods inside
|
7 gadi atpakaļ |
nickysn
|
f3391f81a5
+ introduce a new method tparamanager.asm_result_var(), which determines whether
|
7 gadi atpakaļ |
florian
|
b948a0738c
* unified internalerror
|
8 gadi atpakaļ |
florian
|
b1dff29cbf
* removed unused units
|
8 gadi atpakaļ |
svenbarth
|
417f1cd49d
+ initial implementation of the RTTI for parameter locations (not *yet* used by anything)
|
8 gadi atpakaļ |
Károly Balogh
|
49cec23ba6
for explicit paralocs, don't use the original explicit register as temp, but allocate a new register the same type instead. this fixes issues when the paralocs are also scratch regs and would get overwritten before the call itself
|
8 gadi atpakaļ |
Jonas Maebe
|
5bd03651a9
* clarify/ensure intended order of evaluation
|
8 gadi atpakaļ |
Károly Balogh
|
0cb555c07c
syscalls: move the reference implementation of parseparaloc to paramgr. removes two identical copies from CPU specific code and enables basereg convention for AROS/x86_64. also, other minor fixes and cleanups in related code.
|
8 gadi atpakaļ |
Károly Balogh
|
4ee4099fca
m68k: introduce a register calling convention, inspired by VBCC. volatile registers are used to pass arguments
|
8 gadi atpakaļ |
Jonas Maebe
|
99361994b7
* only copy the shiftval field from the original para location when creating
|
9 gadi atpakaļ |
Jonas Maebe
|
fa3b0ca312
* support marking defs created via the getreusable*() class methods as
|
9 gadi atpakaļ |
Jonas Maebe
|
f40ea04540
* changed getarraydef() into a tarraydef.getreusable() class method
|
10 gadi atpakaļ |
Jonas Maebe
|
f402b0d7df
* changed getpointerdef() into a tpointerdef.getreusable() class method
|
10 gadi atpakaļ |
Jonas Maebe
|
d7412fb5c0
* fixed memory leaks and multiple recalculation regarding function result
|
10 gadi atpakaļ |
Jonas Maebe
|
61e4a1b811
+ added tasmlist parameter to getintparaloc() (needed for llvm)
|
10 gadi atpakaļ |
sergei
|
beeb85f11c
* Don't force CORBA (unmanaged) interfaces to be returned in parameter. All managed types including Variant and COM interfaces are already checked by handle_common_ret_in_param, superfluous checks removed.
|
10 gadi atpakaļ |
Károly Balogh
|
9991ee4165
m68k: support loading of refs to data registers, also when explicit paraloc is set and it's a register, use that directly, this fixes several syscall-related corner cases on Amiga
|
11 gadi atpakaļ |