Commit Graph

1918 Commits

Author SHA1 Message Date
peter
8e7dd52200 * error when properties are passed to var parameters 1999-10-22 14:37:25 +00:00
peter
461430ad5c * fixed esi reload with as 1999-10-22 14:36:04 +00:00
peter
89b677a0ee * split type reading from pdecl to ptype unit
* parameter_dec routine is now used for procedure and procvars
1999-10-22 10:39:34 +00:00
florian
0dd2b51943 * problems with readln fixed: esi wasn't restored correctly when
reading ordinal fields of objects futher the register allocation
    didn't take care of the extra register when reading ordinal values
  * enumerations can now be used in constant indexes of properties
1999-10-21 16:41:37 +00:00
peter
fefc839b29 * redesigned linker object
+ library support for linux (only procedures can be exported)
1999-10-21 14:29:32 +00:00
peter
46b5193e9b * tp7 fix 1999-10-21 14:18:54 +00:00
Jonas Maebe
6de203e9dc * fixed a_loadaddress_ref_reg (mentioned as ToDo in rev. 1.5)
* small bugfix in a_load_store
1999-10-20 12:23:24 +00:00
Jonas Maebe
8f3c1464d5 * changed scratch_registers to (R_11,_R12,R_30) because R_0 is a special
case and R_31 is used as some kind of frame pointer under LinuxPPC
1999-10-20 12:21:34 +00:00
michael
9a3d560559 Added rtlinstall target 1999-10-15 20:47:52 +00:00
florian
fa19f0aa09 - removed the hcodegen use in the new cg, use cgbase instead 1999-10-14 14:57:51 +00:00
pierre
ff8ba9c049 * fix for uggly bug of Marco 1999-10-13 22:09:29 +00:00
peter
9f49a743ee * cgmessagepos functions 1999-10-13 10:42:15 +00:00
peter
c439829c5d * subscript support for tp_procvar 1999-10-13 10:40:55 +00:00
peter
19aa88a729 * moved mangledname creation of normal proc so it also handles a wrong
method proc
1999-10-13 10:37:36 +00:00
peter
851ad1af06 * var must match exactly error msg extended with got and expected type
* array constructor type check now gives error on wrong types
1999-10-13 10:35:23 +00:00
peter
1e940ee840 * dpmi can only be set after reading the options 1999-10-13 10:24:49 +00:00
florian
51b96fabc3 * compiler didn't complain about l1+l2:=l1+l2; it gave only an assembler
error, fixed
1999-10-12 22:35:48 +00:00
florian
8b9633266b * new codegenerator compiles again 1999-10-12 21:20:41 +00:00
pierre
281c77f2b1 * error if calling interrupt procedure 1999-10-12 15:50:54 +00:00
michael
fc4e4bc74a Nieuw error file from Michael Baikov 1999-10-12 14:41:23 +00:00
Jonas Maebe
9a8ecfc76b * fixed bug which sometimes caused a crash when optimizing blocks of code with
assembler blocks (didn't notice before because of lack of zero page protection
    under Win9x :( )
1999-10-11 11:11:31 +00:00
pierre
7bf3213a01 * use and remember that C functions with complex data results use ret $4 1999-10-08 15:40:47 +00:00
pierre
a7992b0232 * library list keeps doubles 1999-10-08 15:38:42 +00:00
Jonas Maebe
2ad775b888 * small bugfix in ArrayRefsEq 1999-10-07 16:07:35 +00:00
peter
e10d770cc3 * fixed stabs writting for forward types 1999-10-06 17:39:14 +00:00
peter
755fc18c07 * fixed empty const ansistring 2 pchar 1999-10-06 08:32:00 +00:00
peter
c61bb81b5e * new tool 1999-10-06 06:29:03 +00:00
pierre
781429264d * bug exit('test') + fail for classes 1999-10-05 22:01:52 +00:00
peter
5726bd1684 * fixed first pass for if branches if the expression got an error 1999-10-04 20:27:41 +00:00
michael
35feded070 * patch from peter for classes 1999-10-04 13:46:04 +00:00
peter
2d21165dd8 * removed objpasunit reference, tvarrec is now searched in systemunit
where it already was located
1999-10-03 19:44:41 +00:00
peter
1a52969bdd * inittable for record fixed (it was only checking for classes) 1999-10-03 19:41:38 +00:00
peter
b2ae851b20 * error check after pass1 of second for argument 1999-10-03 19:39:40 +00:00
peter
6b6fc5aac4 * fixed forward decl check for tp7/delphi 1999-10-03 19:38:39 +00:00
Jonas Maebe
6ca2b6e276 * CSE now updates the RegAlloc's 1999-10-01 13:51:40 +00:00
peter
ca15c4c4fb * class/record type forward checking fixed 1999-10-01 11:18:02 +00:00
peter
b444d6fbe8 * fixed forward checking within class/record 1999-10-01 11:15:57 +00:00
peter
532d85cd50 + procedure directive support in const declarations, fixes bug #232 1999-10-01 10:05:37 +00:00
peter
78246cf227 * fixed is_equal for proc -> procvar which didn't check the
callconvention and type anymore since the splitting of procoptions
1999-10-01 10:04:07 +00:00
peter
49fcd8aceb * forward type declaration rewritten 1999-10-01 08:02:45 +00:00
peter
e838769af8 * fixed object field parsing 1999-10-01 07:59:20 +00:00
Jonas Maebe
47b0fcf922 * fixed small efficiency which caused some missed optimizations (saves 1
assembler instruction on the whole compiler/RTL source tree! :)
1999-09-30 14:43:13 +00:00
Jonas Maebe
167f8d654f * fixes from daopt386.pas integrated 1999-09-29 13:50:34 +00:00
Jonas Maebe
e62d58ea51 * writing to a position in an array now only destroys registers
containing a reference pointing somewhere in that array (since my last
    fix, it behaved like a write to a pointer location)
1999-09-29 13:49:53 +00:00
florian
796234f596 * fixed bug #292 from bugs directory 1999-09-29 11:46:18 +00:00
peter
4e9c029777 * reinserted 1999-09-28 22:40:12 +00:00
florian
1bad993700 * fixed bug #608 1999-09-28 21:07:53 +00:00
florian
ed7dd22b82 * fixed bug #610
+ added $D- for TP in symtable.pas else it can't be compiled anymore
    (too much symbols :()
1999-09-28 20:48:23 +00:00
florian
f050faa02b * bug #617 fixed 1999-09-28 19:48:45 +00:00
florian
9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter
must contain a valid location (which is saved if necessary)
1999-09-28 19:43:45 +00:00