Commit Graph

5934 Commits

Author SHA1 Message Date
Jonas Maebe
dbe054ba4e * don't internalerror when emitting debuginfo for LOC_FPUREGISTER 2003-11-29 18:16:39 +00:00
peter
db60537005 * fixed is_move 2003-11-29 17:36:56 +00:00
peter
825d5b4ed7 * check for add_move_instruction 2003-11-29 17:36:41 +00:00
Jonas Maebe
d5373d5971 * fixed several ppc assembler reader related problems
* local vars in assembler procedures now start at offset 4
  * fixed second_int_to_bool (apparently an integer can be in  LOC_JUMP??)
2003-11-29 16:27:19 +00:00
peter
90a0c832e4 * Initialize() added 2003-11-29 16:19:54 +00:00
florian
11c5331fbf + nasmelf mode for BeOS
+ DQWORD directive in intel assembler mode
2003-11-29 15:53:06 +00:00
peter
2d08c072b5 * fix crash with exit() in a procedure 2003-11-29 14:49:46 +00:00
peter
bc762e9af4 * support type() 2003-11-29 14:41:02 +00:00
peter
353219a928 * typed address only used for @ and addr() that are parsed 2003-11-29 14:33:13 +00:00
Jonas Maebe
7f4a3bf1a9 * fixed bug which only showed up in the ppc crosscompiler :) 2003-11-28 18:49:05 +00:00
peter
b26e3c444a * reversed offset calculation for caller side so it works
correctly for interfaces
2003-11-28 17:24:22 +00:00
peter
d1dbdbd82f * serach also in include path for used files 2003-11-28 17:23:16 +00:00
mazen
077647ee63 + defintion of ts128real
+ globtype is needed in interface uses clause
2003-11-28 13:09:07 +00:00
florian
28ed277547 * resourcestring is allowed in the interface 2003-11-27 09:08:01 +00:00
michael
224a670b4a + Patch to prefer getpropinfo(ptypeinfo,name) over getpropinfo(tobject,name) when called with getpropinfo(aclass.classinfo) from Peter 2003-11-26 15:11:42 +00:00
michael
133701734b + Applied patch from peter to support ansistrings in array constructors 2003-11-26 14:25:26 +00:00
florian
4584775cbe * changed some types to prevend range check errors 2003-11-24 15:17:37 +00:00
Jonas Maebe
6623aaf098 * fixed is_condreg
* fixed branch condition parsing in assembler reader
2003-11-23 20:00:39 +00:00
florian
3f1b80bfaa + skeleton for bXX crX,<label> 2003-11-23 18:32:42 +00:00
peter
f4cffd4358 * removed obsolete nf_cargs flag 2003-11-23 17:39:33 +00:00
peter
474e1578a3 * don't release exceptsymtable for copied nodes 2003-11-23 17:39:16 +00:00
peter
d765fe0c40 * mark nodes that are copies 2003-11-23 17:38:48 +00:00
Jonas Maebe
9b38228c7e * fixed uninitialised var 2003-11-23 17:33:24 +00:00
peter
621f992afa * fixed memleak with derefdata 2003-11-23 17:23:49 +00:00
peter
51384ca53c * register calling is left-right
* parameter ordering
  * left-right calling inserts result parameter last
2003-11-23 17:05:15 +00:00
peter
ba3f7813de * fixed parentfp loading, it was using the offset of the current
nested proc instead of the parent
2003-11-23 17:03:35 +00:00
peter
c0c33961bf * use oldfpccall 2003-11-23 17:03:05 +00:00
Jonas Maebe
ac5eaeb144 - disable the optimizer if compiling with 1.0, because it has a code
generator (not optimizer) bug that causes crashes in the 1.1
    optimizer
2003-11-22 13:11:10 +00:00
Jonas Maebe
7128b3fdd2 * fixed double unit usage 2003-11-22 13:10:32 +00:00
Jonas Maebe
aad37ce53c * fixed optimiser so it compiles again
* fixed several bugs which were in there already for a long time, but
    which only popped up now :) -O2/-O3 will now optimise less than in
    the past (and correctly so), but -O2u/-O3u will optimise a bit more
  * some more small improvements for -O3 are still possible
2003-11-22 00:40:19 +00:00
Jonas Maebe
52980d5488 * fixed properties for MOVSB 2003-11-22 00:35:42 +00:00
Jonas Maebe
9bc4fa13a6 * fixed reversed "got <type 1>, expected <type 1>" error message 2003-11-22 00:32:35 +00:00
Jonas Maebe
3c33590a80 * fixed range error 2003-11-22 00:31:52 +00:00
Jonas Maebe
b3086d3122 + extra allocations of function result regs for the optimiser 2003-11-22 00:31:25 +00:00
florian
256299c274 * fixed reading of reg. sets in the arm assembler reader 2003-11-21 16:29:26 +00:00
florian
ebab97b3c8 + first part of arm assembler reader 2003-11-17 23:23:47 +00:00
florian
3b743d766b * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
Jonas Maebe
16834b1854 * fixed XSTORE instruction info 2003-11-13 18:54:22 +00:00
peter
9b9d30b0e9 * fixed wrong initialization 2003-11-12 16:58:42 +00:00
peter
2ebd9f20b5 * do nothing for macro's in tempcloseinput,tempopeninput 2003-11-12 16:57:59 +00:00
florian
1af574ceca * assembler readers OOPed
+ typed currency constants
  + typed 128 bit float constants if the CPU supports it
2003-11-12 16:05:39 +00:00
peter
30cbfd88d4 * virtual conflicts with override 2003-11-12 15:49:06 +00:00
peter
9610911036 * don't give redefinition warning for forward classes 2003-11-12 15:48:48 +00:00
peter
7bf41f8dff * fix set_varstate in for loops
* fix set_varstate from case statements
2003-11-12 15:48:27 +00:00
florian
063fa364eb * define UNIX and HASUNIX 2003-11-11 21:48:10 +00:00
peter
50f8604526 * check for push_addr 2003-11-11 21:11:23 +00:00
peter
765b1b51b6 * define REGCALL when pocall_default=pocall_register 2003-11-11 21:10:34 +00:00
peter
a1cb920b51 * remove temporary stdcall hack 2003-11-11 21:10:12 +00:00
marco
0ece242d9d * minor fix 2003-11-11 16:46:40 +00:00
peter
f663d2488f * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
peter
76f5fbd7db * check paralength instead of assigned(left) 2003-11-10 19:11:39 +00:00
peter
dc7f09e29e * check for enumdef.maxval<255 instead of enumdef.savesize 2003-11-10 19:10:57 +00:00
peter
13961467e3 * fixed range compare when the last value was an equal
compare. The compare for the lower range was skipped
2003-11-10 19:10:31 +00:00
peter
a3c14e9c2d * procvar default value support 2003-11-10 19:09:29 +00:00
peter
0df248389d + $IF DECLARED() added 2003-11-10 19:08:59 +00:00
peter
517c5de6aa * line numbering is now only done when #10, #10#13 is really parsed
instead of when it is the next character
2003-11-10 19:08:32 +00:00
peter
f44380e4a9 * fixed alias/colouring > 255 2003-11-10 19:05:50 +00:00
florian
f2ad2b9d19 + published single properties can have a default value now 2003-11-10 18:06:25 +00:00
florian
69f8751c7a + is_single added 2003-11-10 18:05:16 +00:00
marco
80abe98cf0 * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
florian
82b7c0c9cc * tstoreddef.getcopy returns now an errordef instead of nil; this
allows easier error recovery
2003-11-08 23:31:27 +00:00
florian
585d13369c * fixed strange error message about expecting erroneous types,
usually this is caused by other errors so it isn't important
2003-11-08 17:08:44 +00:00
florian
2a178f0d93 * fixed parsing of typed widestring constants with length 1 2003-11-08 10:23:35 +00:00
florian
bbf7300a0c * Florian's culmutative nr. 1; contains:
- invalid calling conventions for a certain cpu are rejected
    - arm softfloat calling conventions
    - -Sp for cpu dependend code generation
    - several arm fixes
    - remaining code for value open array paras on heap
2003-11-07 15:58:32 +00:00
mazen
6294931f73 + add more dirs in include path 2003-11-07 09:12:23 +00:00
florian
78e93cec32 * initial revision 2003-11-06 20:48:02 +00:00
peter
da85bd74b3 * 1.9.1 2003-11-06 15:58:27 +00:00
peter
25bf6452b4 * fixed calling classmethod for other object from classmethod 2003-11-06 15:54:32 +00:00
florian
08f4e363f6 * elesize of g_copyvaluepara_openarray changed 2003-11-05 23:06:03 +00:00
florian
788339336a * elesize of g_copyvaluepara_openarray changed
+ g_releaesvaluepara_openarray added
2003-11-05 23:05:13 +00:00
marco
094ab8b446 * fix from Peter arraysize warning (nav Newsgroup msg) 2003-11-05 14:18:03 +00:00
florian
8b337fb5ef + type cast variant<->enum
* cnv. node second pass uses now as well helper wrappers
2003-11-04 22:30:15 +00:00
peter
f47210ad0d * fixed initialize call after getmem 2003-11-04 19:05:03 +00:00
peter
6b90162c5a * fixes for temp type patch 2003-11-04 19:03:50 +00:00
peter
1688a42f0d * assigned(proc()) does not change the calln to loadn 2003-11-04 16:42:13 +00:00
peter
30f1eb4705 * fix for referencecounted temps 2003-11-04 15:35:13 +00:00
peter
e9aaebe873 * int_cgsize returned garbage for a=0 2003-11-03 17:48:04 +00:00
peter
af5a4842d5 * insert framepointer as voidpointer instead of returntype 2003-11-03 17:47:30 +00:00
marco
8e81a66b4c * BSD additions 2003-11-03 13:22:08 +00:00
marco
953cdb3dfe * cycle detection patch from peter 2003-11-03 12:32:48 +00:00
michael
5a277aacc0 + Patches from Wojciech Malinowski 2003-11-03 08:11:28 +00:00
florian
f72431af31 + copying of open array value parameters to the heap implemented 2003-11-02 17:19:33 +00:00
Jonas Maebe
a624d954f4 * fixed releasing of references (ppc also has a base and an index, not
just a base)
2003-11-02 15:20:06 +00:00
florian
a9d9a15e20 * fixed ARM for new reg. allocation scheme 2003-11-02 14:30:03 +00:00
Jonas Maebe
31ff6f25cb * fixed ppc compilation 2003-11-02 13:30:05 +00:00
marco
ba37a0e291 * package versions upgrade 2003-11-01 22:56:05 +00:00
peter
b8b0ba21fa * 1.9.0 2003-11-01 19:27:54 +00:00
peter
f5ab36ed03 * don't remove .0 when patchlevel = 0 2003-11-01 16:37:17 +00:00
peter
c9e80d4877 * 1.9.0 2003-11-01 16:27:46 +00:00
peter
9168d87b35 * use explicit typecast when generating the high value 2003-11-01 16:17:48 +00:00
peter
aadc6dbf2b * fix check for valid procdef in property rtti 2003-11-01 15:50:03 +00:00
peter
f2e031273b * don't search for compatible procvars when the proc is not
overloaded
2003-10-31 18:44:18 +00:00
peter
9b0dda9f42 * don't call proc_to_procvar for explicit typecasts 2003-10-31 18:42:03 +00:00
peter
b34b0141d5 * support creating classes using <class of tobject>.create 2003-10-31 15:52:58 +00:00
peter
684a771aca * fix crash with fail in constructor 2003-10-31 15:52:18 +00:00
peter
f2264589fc * fix crashes in asmnode.deref when p_asm=nil 2003-10-31 15:51:47 +00:00
peter
bd96bacd81 * USEINLINE directive added (not enabled yet) 2003-10-31 15:51:11 +00:00
mazen
a2cee9b843 * using findreg_by_<name|number>_table directly to decrease heap overheading 2003-10-31 09:22:55 +00:00
mazen
ba59054e84 * rgHelper renamed to rgBase
* using findreg_by_<name|number>_table directly to decrease heap overheading
2003-10-31 08:40:51 +00:00
peter
48ef24605a * support scalefactor for opr_local
* support reference with opr_local set, fixes tw2631
2003-10-30 19:59:00 +00:00