Commit Graph

13382 Commits

Author SHA1 Message Date
peter
a467b84faa * fixed various crashes 2003-05-13 15:18:49 +00:00
peter
5e40220d67 * generate code for procvar first before pushing parameters. Made
the already existing code for powerpc available for all platforms
2003-05-13 15:18:18 +00:00
peter
4ba5171726 * fix crash with hiding function result. The function result is now
inserted as last so the symbol that we are going to insert is the
    result and needs to be renamed instead of the already existing
    symbol
2003-05-13 15:17:13 +00:00
peter
c577c78366 * removed ret_in_acc, it's the reverse of ret_in_param
* fixed ret_in_param for win32 cdecl array
2003-05-13 15:16:13 +00:00
peter
ff172b6b2d * fixed import crash with explicit provided name 2003-05-13 15:15:25 +00:00
peter
fd632f7a50 * overload keyword added, test is successfull for 1.1. known issue
for 1.0.x
2003-05-13 14:47:51 +00:00
peter
33a6f3a12a * check for cygdriver in PATH to check for Cygwin, the old detection
method didn't work with recent Cygwin
2003-05-13 14:45:17 +00:00
Jonas Maebe
cca04655a6 * fxed test for 80x86 2003-05-13 09:28:25 +00:00
Jonas Maebe
0836ed1713 * patch from Peter for rtti symbols 2003-05-13 08:13:16 +00:00
Jonas Maebe
0f893e81c8 * patch from Peter for win32 .ow to .o change 2003-05-13 08:12:09 +00:00
florian
149d986f5f + added setup of argv, argc and envp 2003-05-12 22:36:45 +00:00
peter
2c63c84131 * extdebug info temp alloc type was wrong 2003-05-12 21:29:59 +00:00
florian
d73c88ce9f * fixed parameter passing by value of large sets, strings and method pointers 2003-05-12 20:14:47 +00:00
Jonas Maebe
d6a589bcd7 * fixed final fillchar error (tfillchr passes now) 2003-05-12 19:39:33 +00:00
Jonas Maebe
a2dc1e7a9d + fillchar test 2003-05-12 19:18:12 +00:00
Jonas Maebe
335017abc9 * fixed bug in fillchar 2003-05-12 19:00:50 +00:00
Jonas Maebe
0a392ebf5e * fixed g_concatcopy 2003-05-12 18:43:50 +00:00
Jonas Maebe
02496a9934 * moved fpc_check_object call earlier for the ppc, so it can't destroy
already-loaded parameter registers
2003-05-12 18:17:55 +00:00
peter
b42efec29d * create rtti label using newasmsymboldata and update binding
only when calling tai_symbol.create
  * tai_symbol.create_global added
2003-05-12 18:13:57 +00:00
Jonas Maebe
8acf67d327 * fixed (last?) remaining -tvarsym(X).address to
tg.direction*tvarsym(X).address...
2003-05-12 17:22:00 +00:00
florian
b5838be7e0 * fixed my commit, strange, it didn't give any conflicts with Jonas patch 2003-05-12 11:17:55 +00:00
florian
2254dc3e82 * qword division fixed (MSB/LSB problem) 2003-05-12 11:16:21 +00:00
Jonas Maebe
f8cb290a84 * fixed several initialization and finalization related bugs (missing
tg.direction's, wrong paralocation for decreasing refcount of
    everything but ansistrings)
2003-05-12 08:08:27 +00:00
Jonas Maebe
eb9d6d7134 * fixed for big endian systems (since Florian doesn't seem to want to
commit this fix :)
2003-05-12 07:19:04 +00:00
florian
65eba18e20 * fixed passing of small const arrays and const records, they are always passed by reference 2003-05-11 23:19:32 +00:00
Jonas Maebe
3aeff19a60 * fixed procvar bug on the ppc (load procvar before loading para's,
because the procvar may otherwise destroy the already loaded paras)
2003-05-11 21:48:38 +00:00
peter
c2c11ba6a6 * constructor helper added 2003-05-11 21:39:14 +00:00
peter
26d78ff5c9 * moved implicit exception frame from ncgutil to psub
* constructor/destructor helpers moved from cobj/ncgutil to psub
2003-05-11 21:37:03 +00:00
Jonas Maebe
7d5a2715f6 * fixed bug with large offsets in entrycode 2003-05-11 20:59:23 +00:00
Jonas Maebe
7fc5c04a14 * fixed bug in second_int_to_bool I introduced previous time
(secondpass was being called twice!)
2003-05-11 20:42:08 +00:00
florian
76f18e2fc9 * fixed implicit init/final code for units, stack frame was wrong for ppc 2003-05-11 19:31:28 +00:00
florian
fa27f77a17 * FPC_LITTLE_ENDIAN and FPC_BIG_ENDIAN is now defined as well 2003-05-11 19:17:16 +00:00
Jonas Maebe
a23b530fc8 * fixed qword and int64 to double conversion 2003-05-11 18:09:45 +00:00
Jonas Maebe
a65af80143 * adapted for systems with less max fpu precision than i386 2003-05-11 17:12:15 +00:00
Jonas Maebe
8bd6d64c35 * fixed mmap for non-i386 non-m68k architectures (not sure about
x86-64)
2003-05-11 16:07:55 +00:00
peter
15b0132f6f * tloadnode does not support objectsymtable,withsymtable anymore
* withnode cleanup
  * direct with rewritten to use temprefnode
2003-05-11 14:45:12 +00:00
Jonas Maebe
f616bfd3e2 * fixed second_int_to_bool() (but still problem with typecasts used for
var parameters, not sure about solution)
2003-05-11 13:06:44 +00:00
Jonas Maebe
b993c4e2db * fixed shifts 2003-05-11 11:45:08 +00:00
Jonas Maebe
1ff5307e5d + op_reg_reg_reg_const_const (for rlwnm) 2003-05-11 11:08:25 +00:00
Jonas Maebe
2c81208d56 * fixed optimizations in a_op_const_reg_reg() 2003-05-11 11:07:33 +00:00
Jonas Maebe
6bd01c68d2 * fixed fpc_set_set_byte and fpc_set_unset_byte 2003-05-11 11:06:34 +00:00
florian
77d8f335aa * vmtpointer_offset must be adjusted in after_pass1 as well 2003-05-10 23:57:23 +00:00
armin
7b8ac3c767 * added declarations with var parameters 2003-05-10 21:38:22 +00:00
Jonas Maebe
12f37edaab * fixed get_caller_frame and get_caller_addr 2003-05-10 20:33:39 +00:00
Jonas Maebe
41a008a3bc + test for move() procedure 2003-05-10 17:33:35 +00:00
Jonas Maebe
a74e48302d * final (? :) fix to move, passes new tests/test/tmove test 2003-05-10 17:33:06 +00:00
Jonas Maebe
17906f62d2 * moved storing of register parameters to memory even earlier in the
entry code to fix problems with constructors
2003-05-10 13:20:23 +00:00
peter
409e9c5606 * fix loop variable 2003-05-10 09:55:00 +00:00
Jonas Maebe
f64d66fa48 * call inherited after_header as well 2003-05-09 19:00:30 +00:00
peter
1a2eedd767 * self moved to hidden parameter
* removed hdisposen,hnewn,selfn
2003-05-09 17:47:02 +00:00