Commit Graph

1691 Commits

Author SHA1 Message Date
pierre
1f1b9e7883 * _FAIL will now free memory correctly
and reset VMT field on static instances
    (not yet tested for classes, is it allowed ?)
  + emit_.... all variant defined here to avoid tons of
    exprasmlist^.concat(new(pai386,...) in cg386***
1999-08-19 13:06:45 +00:00
pierre
1c8a7a1924 + label faillabel added for _FAIL support 1999-08-19 13:02:08 +00:00
florian
2359c7c013 + initial revision 1999-08-18 19:29:39 +00:00
florian
c512d38256 + implemented initilizing of data for the new code generator
so it should compile now simple programs
1999-08-18 17:05:53 +00:00
Jonas Maebe
56524f33df + compilable!
+ dataflow analyzer finished
  + start of CSE units
  + aoptbase which contains a base object for all optimizer objects
  * some constants and type definitions moved around to avoid circular
    dependencies
  * moved some methods from base objects to specialized objects because
    they're not used anywhere else
1999-08-18 14:32:20 +00:00
Jonas Maebe
cd3160e0c2 + some constants for the new optimizer 1999-08-18 13:26:23 +00:00
Jonas Maebe
8dc154ce24 * minor fixes regarding the reading of operands 1999-08-18 13:25:54 +00:00
pierre
d04add7c9f * esp loading corrected 1999-08-18 11:35:59 +00:00
michael
94d0da0639 RTTI writing patch 1999-08-17 13:58:56 +00:00
peter
19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not
variant.
1999-08-17 13:26:06 +00:00
peter
8e653af606 * arrayconstructor -> openarray type conversions for element types 1999-08-16 23:23:38 +00:00
peter
da93a8740e * range check for array of const 1999-08-16 23:20:28 +00:00
peter
63499d5cc5 * fixes from gabor 1999-08-16 18:25:49 +00:00
peter
f225a5f0bd * reset resourcestringlist in newmodule. 1999-08-16 18:23:56 +00:00
pierre
576a2e4f42 * error in stabs for tclassrefdef corrected 1999-08-16 16:26:04 +00:00
pierre
96fdcfb1f2 * fix for DLL relocation problems
* external bss vars had wrong stabs for pecoff
  + -WB11000000 to specify default image base, allows to
    load several DLLs with debugging info included
    (relocatable DLL are stripped because the relocation
     of the .Stab section is misplaced by ldw)
1999-08-16 15:35:20 +00:00
daniel
157bc635ce * Fixed bugs. 1999-08-16 12:54:02 +00:00
peter
7b5e8ad618 * fixed property writeaccess which was buggy after my previous
subscribed property access
1999-08-15 22:47:45 +00:00
michael
1fc54ed702 + No Intel and binary writer for linux=smaller executable 1999-08-15 22:16:51 +00:00
michael
f2513ba3cb Changes for resource strings 1999-08-15 21:57:58 +00:00
peter
926a6c2d3e + normalset,smallset writing 1999-08-15 10:47:48 +00:00
peter
8d9aa81d3a * hack to support property with record fields 1999-08-14 00:38:53 +00:00
peter
2e99c59182 * array constructor support 1999-08-14 00:36:05 +00:00
peter
d7a37edfbd * support for array constructors extended and more error checking 1999-08-13 21:33:09 +00:00
peter
ab8edb8970 * more reference types support
* arraydef size returns elementsize, also for multiple indexing array
1999-08-13 21:28:36 +00:00
peter
d03f29df08 * more fixes for push_addr 1999-08-13 21:27:08 +00:00
peter
54baf96873 * first things to include lineinfo in the executable 1999-08-13 15:44:57 +00:00
peter
be98f80d7f * fixed proc->procvar conversion for tp_procvar mode, it now uses
also the genload(method)call() function
1999-08-13 15:43:59 +00:00
peter
ceecb1c885 * fixed push_addr_param for records < 4, the array high<low range check
broke this code.
1999-08-13 15:38:23 +00:00
peter
13c7fed55d * fixed suffix writing for a_setcc 1999-08-13 15:36:30 +00:00
pierre
8b4c7f2402 + stabs for classes and classref working,
a class still needs an ^ to get that content of it,
    but the class fields inside a class don't result into an
    infinite loop anymore!
1999-08-13 14:24:17 +00:00
pierre
7d2b96d4d6 * added inherited init call to tstringcontainer.init_no_double for Peter 1999-08-12 23:19:05 +00:00
peter
bfe185d206 + KNI instructions 1999-08-12 14:36:01 +00:00
peter
631d19fc85 * tp_procvar mode call->loadn fixed 1999-08-12 14:34:28 +00:00
peter
420127efe6 * long line fix 1999-08-12 14:31:20 +00:00
peter
fc8211bbb8 * tlinker object is now inherited for win32 and dos
* postprocessexecutable is now a method of tlinker
1999-08-11 17:26:31 +00:00
peter
0b82a7dfd6 * fixed rva writting for section relocs
* fixed section flags for edata and idata
1999-08-11 17:17:38 +00:00
Jonas Maebe
25a7035988 - removed RefsHaveSymbol define (I think references on all processors can have a symbol) 1999-08-11 14:24:38 +00:00
Jonas Maebe
1d923a08ec * some fixes to RegReadByInstr 1999-08-11 14:23:39 +00:00
Jonas Maebe
265f3c09be + first version, added TAsmDFACpu object and CpuDFA method 1999-08-11 14:22:56 +00:00
Jonas Maebe
dbb0bebac9 * finished DoDFAPass2 1999-08-11 14:20:51 +00:00
Jonas Maebe
aa5615a2e1 * InstrSinceLastMod parameter added to destroy/modify methods 1999-08-11 14:20:11 +00:00
michael
3afbd99ce6 * RTTI fix from Sebastian Guenther 1999-08-11 08:56:53 +00:00
pierre
42faa483e2 * unitid changed to word 1999-08-10 16:25:42 +00:00
pierre
c63cfc6f7a * linking to C code with cdecl;external; was broken 1999-08-10 16:24:44 +00:00
pierre
7982d8c842 * vmtmethodoffset made cross target compatible 1999-08-10 13:22:08 +00:00
pierre
aca546d6d2 * fpuvaroffset not increased for f32bit float type 1999-08-10 13:21:08 +00:00
pierre
d85a8886fd * bind_win32_dll removed (Relocsection used instead)
* now relocsection is true by default ! (needs dlltool
    for DLL generation)
1999-08-10 12:51:14 +00:00
pierre
da2d4a76ce * fpuvaroffset problems solved 1999-08-10 12:47:53 +00:00
Jonas Maebe
2e53fd266b + implemented RegReadByInstr 1999-08-10 12:40:20 +00:00