cgi386.pas 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. {
  2. $Id$
  3. Copyright (c) 1993-98 by Florian Klaempfl
  4. This unit generates i386 (or better) assembler from the parse tree
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. {$ifdef TP}
  19. {$E+,F+,N+,D+,L+,Y+}
  20. {$endif}
  21. unit cgi386;
  22. interface
  23. uses
  24. tree;
  25. { produces assembler for the expression in variable p }
  26. { and produces an assembler node at the end }
  27. procedure generatecode(var p : ptree);
  28. { produces the actual code }
  29. function do_secondpass(var p : ptree) : boolean;
  30. procedure secondpass(var p : ptree);
  31. {$ifdef test_dest_loc}
  32. const
  33. { used to avoid temporary assignments }
  34. dest_loc_known : boolean = false;
  35. in_dest_loc : boolean = false;
  36. dest_loc_tree : ptree = nil;
  37. var
  38. dest_loc : tlocation;
  39. procedure mov_reg_to_dest(p : ptree; s : topsize; reg : tregister);
  40. {$endif test_dest_loc}
  41. implementation
  42. uses
  43. verbose,cobjects,systems,globals,files,
  44. symtable,types,aasm,scanner,
  45. pass_1,hcodegen,temp_gen
  46. {$ifdef GDB}
  47. ,gdb
  48. {$endif}
  49. {$ifdef i386}
  50. ,i386,tgeni386,cgai386
  51. ,cg386con,cg386mat,cg386cnv,cg386set,cg386add
  52. ,cg386mem,cg386cal,cg386ld,cg386flw
  53. {$endif}
  54. ;
  55. {$ifdef test_dest_loc}
  56. procedure mov_reg_to_dest(p : ptree; s : topsize; reg : tregister);
  57. begin
  58. if (dest_loc.loc=LOC_CREGISTER) or (dest_loc.loc=LOC_REGISTER) then
  59. begin
  60. emit_reg_reg(A_MOV,s,reg,dest_loc.register);
  61. p^.location:=dest_loc;
  62. in_dest_loc:=true;
  63. end
  64. else
  65. if (dest_loc.loc=LOC_REFERENCE) or (dest_loc.loc=LOC_MEM) then
  66. begin
  67. exprasmlist^.concat(new(pai386,op_reg_ref(A_MOV,s,reg,newreference(dest_loc.reference))));
  68. p^.location:=dest_loc;
  69. in_dest_loc:=true;
  70. end
  71. else
  72. internalerror(20080);
  73. end;
  74. {$endif test_dest_loc}
  75. procedure message(const t : tmsgconst);
  76. var
  77. olderrorcount : longint;
  78. begin
  79. if not(codegenerror) then
  80. begin
  81. olderrorcount:=status.errorcount;
  82. verbose.Message(t);
  83. codegenerror:=olderrorcount<>status.errorcount;
  84. end;
  85. end;
  86. procedure message1(const t : tmsgconst;const s : string);
  87. var
  88. olderrorcount : longint;
  89. begin
  90. if not(codegenerror) then
  91. begin
  92. olderrorcount:=status.errorcount;
  93. verbose.Message1(t,s);
  94. codegenerror:=olderrorcount<>status.errorcount;
  95. end;
  96. end;
  97. procedure message2(const t : tmsgconst;const s1,s2 : string);
  98. var
  99. olderrorcount : longint;
  100. begin
  101. if not(codegenerror) then
  102. begin
  103. olderrorcount:=status.errorcount;
  104. verbose.Message2(t,s1,s2);
  105. codegenerror:=olderrorcount<>status.errorcount;
  106. end;
  107. end;
  108. procedure message3(const t : tmsgconst;const s1,s2,s3 : string);
  109. var
  110. olderrorcount : longint;
  111. begin
  112. if not(codegenerror) then
  113. begin
  114. olderrorcount:=status.errorcount;
  115. verbose.Message3(t,s1,s2,s3);
  116. codegenerror:=olderrorcount<>status.errorcount;
  117. end;
  118. end;
  119. {*****************************************************************************
  120. SecondPass
  121. *****************************************************************************}
  122. type
  123. secondpassproc = procedure(var p : ptree);
  124. procedure secondnothing(var p : ptree);
  125. begin
  126. end;
  127. procedure seconderror(var p : ptree);
  128. begin
  129. p^.error:=true;
  130. codegenerror:=true;
  131. end;
  132. procedure secondstatement(var p : ptree);
  133. var
  134. hp : ptree;
  135. begin
  136. hp:=p;
  137. while assigned(hp) do
  138. begin
  139. if assigned(hp^.right) then
  140. begin
  141. cleartempgen;
  142. secondpass(hp^.right);
  143. end;
  144. hp:=hp^.left;
  145. end;
  146. end;
  147. procedure secondblockn(var p : ptree);
  148. begin
  149. { do second pass on left node }
  150. if assigned(p^.left) then
  151. secondpass(p^.left);
  152. end;
  153. procedure secondasm(var p : ptree);
  154. begin
  155. exprasmlist^.concatlist(p^.p_asm);
  156. if not p^.object_preserved then
  157. maybe_loadesi;
  158. end;
  159. procedure secondpass(var p : ptree);
  160. const
  161. procedures : array[ttreetyp] of secondpassproc =
  162. (secondadd,secondadd,secondadd,secondmoddiv,secondadd,
  163. secondmoddiv,secondassignment,secondload,secondnothing,
  164. secondadd,secondadd,secondadd,secondadd,
  165. secondadd,secondadd,secondin,secondadd,
  166. secondadd,secondshlshr,secondshlshr,secondadd,
  167. secondadd,secondsubscriptn,secondderef,secondaddr,
  168. seconddoubleaddr,
  169. secondordconst,secondtypeconv,secondcalln,secondnothing,
  170. secondrealconst,secondfixconst,secondumminus,
  171. secondasm,secondvecn,
  172. secondstringconst,secondfuncret,secondselfn,
  173. secondnot,secondinline,secondniln,seconderror,
  174. secondnothing,secondhnewn,secondhdisposen,secondnewn,
  175. secondsimplenewdispose,secondnothing,secondsetcons,secondblockn,
  176. secondstatement,secondnothing,secondifn,secondbreakn,
  177. secondcontinuen,second_while_repeatn,second_while_repeatn,secondfor,
  178. secondexitn,secondwith,secondcase,secondlabel,
  179. secondgoto,secondsimplenewdispose,secondtryexcept,secondraise,
  180. secondnothing,secondtryfinally,secondis,secondas,seconderror,
  181. secondfail,secondadd,secondprocinline,
  182. secondnothing,secondloadvmt);
  183. var
  184. oldcodegenerror : boolean;
  185. oldswitches : Tcswitches;
  186. oldpos : tfileposinfo;
  187. begin
  188. oldcodegenerror:=codegenerror;
  189. oldswitches:=aktswitches;
  190. {$ifdef NEWINPUT}
  191. oldpos:=aktfilepos;
  192. aktfilepos:=p^.fileinfo;
  193. {$else}
  194. get_cur_file_pos(oldpos);
  195. set_cur_file_pos(p^.fileinfo);
  196. {$endif NEWINPUT}
  197. codegenerror:=false;
  198. aktswitches:=p^.pragmas;
  199. if not(p^.error) then
  200. begin
  201. procedures[p^.treetype](p);
  202. p^.error:=codegenerror;
  203. codegenerror:=codegenerror or oldcodegenerror;
  204. end
  205. else
  206. codegenerror:=true;
  207. aktswitches:=oldswitches;
  208. {$ifdef NEWINPUT}
  209. aktfilepos:=oldpos;
  210. {$else}
  211. set_cur_file_pos(oldpos);
  212. {$endif NEWINPUT}
  213. end;
  214. function do_secondpass(var p : ptree) : boolean;
  215. begin
  216. codegenerror:=false;
  217. if not(p^.error) then
  218. secondpass(p);
  219. do_secondpass:=codegenerror;
  220. end;
  221. var
  222. regvars : array[1..maxvarregs] of pvarsym;
  223. regvars_para : array[1..maxvarregs] of boolean;
  224. regvars_refs : array[1..maxvarregs] of longint;
  225. parasym : boolean;
  226. procedure searchregvars(p : psym);
  227. var
  228. i,j,k : longint;
  229. begin
  230. if (p^.typ=varsym) and ((pvarsym(p)^.var_options and vo_regable)<>0) then
  231. begin
  232. { walk through all momentary register variables }
  233. for i:=1 to maxvarregs do
  234. begin
  235. { free register ? }
  236. if regvars[i]=nil then
  237. begin
  238. regvars[i]:=pvarsym(p);
  239. regvars_para[i]:=parasym;
  240. break;
  241. end;
  242. { else throw out a variable ? }
  243. j:=pvarsym(p)^.refs;
  244. { parameter get a less value }
  245. if parasym then
  246. begin
  247. if cs_littlesize in aktswitches then
  248. dec(j,1)
  249. else
  250. dec(j,100);
  251. end;
  252. if (j>regvars_refs[i]) and (j>0) then
  253. begin
  254. for k:=maxvarregs-1 downto i do
  255. begin
  256. regvars[k+1]:=regvars[k];
  257. regvars_para[k+1]:=regvars_para[k];
  258. end;
  259. { calc the new refs
  260. pvarsym(p)^.refs:=j; }
  261. regvars[i]:=pvarsym(p);
  262. regvars_para[i]:=parasym;
  263. regvars_refs[i]:=j;
  264. break;
  265. end;
  266. end;
  267. end;
  268. end;
  269. procedure generatecode(var p : ptree);
  270. var
  271. { *pass modifies with every node aktlinenr and current_module^.current_inputfile, }
  272. { to constantly contain the right line numbers }
  273. oldis : pinputfile;
  274. oldnr,i : longint;
  275. regsize : topsize;
  276. regi : tregister;
  277. hr : preference;
  278. label
  279. nextreg;
  280. begin
  281. cleartempgen;
  282. {$ifndef NEWINPUT}
  283. oldis:=current_module^.current_inputfile;
  284. oldnr:=current_module^.current_inputfile^.line_no;
  285. {$endif}
  286. { when size optimization only count occurrence }
  287. if cs_littlesize in aktswitches then
  288. t_times:=1
  289. else
  290. { reference for repetition is 100 }
  291. t_times:=100;
  292. { clear register count }
  293. {$ifdef SUPPORT_MMX}
  294. for regi:=R_EAX to R_MM6 do
  295. begin
  296. reg_pushes[regi]:=0;
  297. is_reg_var[regi]:=false;
  298. end;
  299. {$else SUPPORT_MMX}
  300. for regi:=R_EAX to R_EDI do
  301. begin
  302. reg_pushes[regi]:=0;
  303. is_reg_var[regi]:=false;
  304. end;
  305. {$endif SUPPORT_MMX}
  306. use_esp_stackframe:=false;
  307. if not(do_firstpass(p)) then
  308. begin
  309. { max. optimizations }
  310. { only if no asm is used }
  311. if (cs_maxoptimieren in aktswitches) and
  312. ((procinfo.flags and pi_uses_asm)=0) then
  313. begin
  314. { can we omit the stack frame ? }
  315. { conditions:
  316. 1. procedure (not main block)
  317. 2. no constructor or destructor
  318. 3. no call to other procedures
  319. 4. no interrupt handler
  320. }
  321. if assigned(aktprocsym) then
  322. begin
  323. if (aktprocsym^.definition^.options and
  324. poconstructor+podestructor{+poinline}+pointerrupt=0) and
  325. ((procinfo.flags and pi_do_call)=0) and (lexlevel>1) then
  326. begin
  327. { use ESP as frame pointer }
  328. procinfo.framepointer:=R_ESP;
  329. use_esp_stackframe:=true;
  330. { calc parameter distance new }
  331. dec(procinfo.framepointer_offset,4);
  332. dec(procinfo.ESI_offset,4);
  333. { is this correct ???}
  334. { retoffset can be negativ for results in eax !! }
  335. { the value should be decreased only if positive }
  336. if procinfo.retoffset>=0 then
  337. dec(procinfo.retoffset,4);
  338. dec(procinfo.call_offset,4);
  339. aktprocsym^.definition^.parast^.call_offset:=procinfo.call_offset;
  340. end;
  341. end;
  342. if (p^.registers32<4) then
  343. begin
  344. for i:=1 to maxvarregs do
  345. regvars[i]:=nil;
  346. parasym:=false;
  347. {$ifdef tp}
  348. symtablestack^.foreach(searchregvars);
  349. {$else}
  350. symtablestack^.foreach(@searchregvars);
  351. {$endif}
  352. { copy parameter into a register ? }
  353. parasym:=true;
  354. {$ifdef tp}
  355. symtablestack^.next^.foreach(searchregvars);
  356. {$else}
  357. symtablestack^.next^.foreach(@searchregvars);
  358. {$endif}
  359. { hold needed registers free }
  360. for i:=maxvarregs downto maxvarregs-p^.registers32+1 do
  361. regvars[i]:=nil;
  362. { now assign register }
  363. for i:=1 to maxvarregs-p^.registers32 do
  364. begin
  365. if assigned(regvars[i]) then
  366. begin
  367. { it is nonsens, to copy the variable to }
  368. { a register because we need then much }
  369. { pushes ? }
  370. if reg_pushes[varregs[i]]>=regvars[i]^.refs then
  371. begin
  372. regvars[i]:=nil;
  373. goto nextreg;
  374. end;
  375. { register is no longer available for }
  376. { expressions }
  377. { search the register which is the most }
  378. { unused }
  379. usableregs:=usableregs-[varregs[i]];
  380. is_reg_var[varregs[i]]:=true;
  381. dec(c_usableregs);
  382. { possibly no 32 bit register are needed }
  383. if (regvars[i]^.definition^.deftype=orddef) and
  384. (porddef(regvars[i]^.definition)^.typ in [bool8bit,uchar,u8bit,s8bit]) then
  385. begin
  386. regvars[i]^.reg:=reg32toreg8(varregs[i]);
  387. regsize:=S_B;
  388. end
  389. else if (regvars[i]^.definition^.deftype=orddef) and
  390. (porddef(regvars[i]^.definition)^.typ in [bool16bit,u16bit,s16bit]) then
  391. begin
  392. regvars[i]^.reg:=reg32toreg16(varregs[i]);
  393. regsize:=S_W;
  394. end
  395. else
  396. begin
  397. regvars[i]^.reg:=varregs[i];
  398. regsize:=S_L;
  399. end;
  400. { parameter must be load }
  401. if regvars_para[i] then
  402. begin
  403. { procinfo is there actual, }
  404. { because we can't never be in a }
  405. { nested procedure }
  406. { when loading parameter to reg }
  407. new(hr);
  408. reset_reference(hr^);
  409. hr^.offset:=pvarsym(regvars[i])^.address+procinfo.call_offset;
  410. hr^.base:=procinfo.framepointer;
  411. procinfo.aktentrycode^.concat(new(pai386,op_ref_reg(A_MOV,regsize,
  412. hr,regvars[i]^.reg)));
  413. unused:=unused - [regvars[i]^.reg];
  414. end;
  415. { procedure uses this register }
  416. usedinproc:=usedinproc or ($80 shr byte(varregs[i]));
  417. end;
  418. nextreg:
  419. { dummy }
  420. regsize:=S_W;
  421. end;
  422. if (verbosity and v_debug)=v_debug then
  423. begin
  424. for i:=1 to maxvarregs do
  425. begin
  426. if assigned(regvars[i]) then
  427. Message3(cg_d_register_weight,reg2str(regvars[i]^.reg),
  428. tostr(regvars[i]^.refs),regvars[i]^.name);
  429. end;
  430. end;
  431. end;
  432. end;
  433. if assigned(aktprocsym) and
  434. ((aktprocsym^.definition^.options and poinline)<>0) then
  435. make_const_global:=true;
  436. do_secondpass(p);
  437. {$ifdef StoreFPULevel}
  438. procinfo.def^.fpu_used:=p^.registersfpu;
  439. {$endif StoreFPULevel}
  440. { all registers can be used again }
  441. usableregs:=[R_EAX,R_EBX,R_ECX,R_EDX];
  442. {$ifdef SUPPORT_MMX}
  443. usableregs:=usableregs+[R_MM0..R_MM6];
  444. {$endif SUPPORT_MMX}
  445. c_usableregs:=4;
  446. end;
  447. procinfo.aktproccode^.concatlist(exprasmlist);
  448. make_const_global:=false;
  449. {$ifndef NEWINPUT}
  450. current_module^.current_inputfile:=oldis;
  451. current_module^.current_inputfile^.line_no:=oldnr;
  452. {$endif}
  453. end;
  454. end.
  455. {
  456. $Log$
  457. Revision 1.40 1998-07-07 11:19:52 peter
  458. + NEWINPUT for a better inputfile and scanner object
  459. Revision 1.39 1998/06/12 10:32:23 pierre
  460. * column problem hopefully solved
  461. + C vars declaration changed
  462. Revision 1.38 1998/06/09 16:01:37 pierre
  463. + added procedure directive parsing for procvars
  464. (accepted are popstack cdecl and pascal)
  465. + added C vars with the following syntax
  466. var C calias 'true_c_name';(can be followed by external)
  467. reason is that you must add the Cprefix
  468. which is target dependent
  469. Revision 1.37 1998/06/08 13:13:41 pierre
  470. + temporary variables now in temp_gen.pas unit
  471. because it is processor independent
  472. * mppc68k.bat modified to undefine i386 and support_mmx
  473. (which are defaults for i386)
  474. Revision 1.36 1998/06/05 17:49:54 peter
  475. * cleanup of cgai386
  476. Revision 1.35 1998/06/05 16:13:32 pierre
  477. * fix for real and string consts inside inlined procs
  478. Revision 1.34 1998/06/05 14:37:27 pierre
  479. * fixes for inline for operators
  480. * inline procedure more correctly restricted
  481. Revision 1.33 1998/06/04 23:51:37 peter
  482. * m68k compiles
  483. + .def file creation moved to gendef.pas so it could also be used
  484. for win32
  485. Revision 1.32 1998/06/04 09:55:35 pierre
  486. * demangled name of procsym reworked to become independant of the mangling scheme
  487. Come test_funcret improvements (not yet working)S: ----------------------------------------------------------------------
  488. Revision 1.31 1998/06/03 22:48:52 peter
  489. + wordbool,longbool
  490. * rename bis,von -> high,low
  491. * moved some systemunit loading/creating to psystem.pas
  492. Revision 1.30 1998/06/02 17:03:00 pierre
  493. * with node corrected for objects
  494. * small bugs for SUPPORT_MMX fixed
  495. Revision 1.29 1998/06/01 16:50:18 peter
  496. + boolean -> ord conversion
  497. * fixed ord -> boolean conversion
  498. Revision 1.28 1998/05/28 17:26:47 peter
  499. * fixed -R switch, it didn't work after my previous akt/init patch
  500. * fixed bugs 110,130,136
  501. Revision 1.27 1998/05/25 17:11:38 pierre
  502. * firstpasscount bug fixed
  503. now all is already set correctly the first time
  504. under EXTDEBUG try -gp to skip all other firstpasses
  505. it works !!
  506. * small bug fixes
  507. - for smallsets with -dTESTSMALLSET
  508. - some warnings removed (by correcting code !)
  509. Revision 1.26 1998/05/23 01:21:03 peter
  510. + aktasmmode, aktoptprocessor, aktoutputformat
  511. + smartlink per module $SMARTLINK-/+ (like MMX) and moved to aktswitches
  512. + $LIBNAME to set the library name where the unit will be put in
  513. * splitted cgi386 a bit (codeseg to large for bp7)
  514. * nasm, tasm works again. nasm moved to ag386nsm.pas
  515. Revision 1.25 1998/05/21 19:33:31 peter
  516. + better procedure directive handling and only one table
  517. Revision 1.24 1998/05/20 09:42:33 pierre
  518. + UseTokenInfo now default
  519. * unit in interface uses and implementation uses gives error now
  520. * only one error for unknown symbol (uses lastsymknown boolean)
  521. the problem came from the label code !
  522. + first inlined procedures and function work
  523. (warning there might be allowed cases were the result is still wrong !!)
  524. * UseBrower updated gives a global list of all position of all used symbols
  525. with switch -gb
  526. Revision 1.23 1998/05/12 10:46:58 peter
  527. * moved printstatus to verb_def
  528. + V_Normal which is between V_Error and V_Warning and doesn't have a
  529. prefix like error: warning: and is included in V_Default
  530. * fixed some messages
  531. * first time parameter scan is only for -v and -T
  532. - removed old style messages
  533. Revision 1.22 1998/05/07 00:17:00 peter
  534. * smartlinking for sets
  535. + consts labels are now concated/generated in hcodegen
  536. * moved some cpu code to cga and some none cpu depended code from cga
  537. to tree and hcodegen and cleanup of hcodegen
  538. * assembling .. output reduced for smartlinking ;)
  539. Revision 1.21 1998/05/06 08:38:36 pierre
  540. * better position info with UseTokenInfo
  541. UseTokenInfo greatly simplified
  542. + added check for changed tree after first time firstpass
  543. (if we could remove all the cases were it happen
  544. we could skip all firstpass if firstpasscount > 1)
  545. Only with ExtDebug
  546. Revision 1.20 1998/05/01 16:38:44 florian
  547. * handling of private and protected fixed
  548. + change_keywords_to_tp implemented to remove
  549. keywords which aren't supported by tp
  550. * break and continue are now symbols of the system unit
  551. + widestring, longstring and ansistring type released
  552. Revision 1.19 1998/04/30 15:59:39 pierre
  553. * GDB works again better :
  554. correct type info in one pass
  555. + UseTokenInfo for better source position
  556. * fixed one remaining bug in scanner for line counts
  557. * several little fixes
  558. Revision 1.18 1998/04/29 10:33:48 pierre
  559. + added some code for ansistring (not complete nor working yet)
  560. * corrected operator overloading
  561. * corrected nasm output
  562. + started inline procedures
  563. + added starstarn : use ** for exponentiation (^ gave problems)
  564. + started UseTokenInfo cond to get accurate positions
  565. Revision 1.17 1998/04/27 23:10:27 peter
  566. + new scanner
  567. * $makelib -> if smartlink
  568. * small filename fixes pmodule.setfilename
  569. * moved import from files.pas -> import.pas
  570. Revision 1.16 1998/04/23 21:52:08 florian
  571. * fixes of Jonas applied
  572. Revision 1.15 1998/04/22 21:06:49 florian
  573. * last fixes before the release:
  574. - veryyyy slow firstcall fixed
  575. Revision 1.14 1998/04/21 10:16:47 peter
  576. * patches from strasbourg
  577. * objects is not used anymore in the fpc compiled version
  578. Revision 1.13 1998/04/14 23:27:02 florian
  579. + exclude/include with constant second parameter added
  580. Revision 1.12 1998/04/13 21:15:41 florian
  581. * error handling of pass_1 and cgi386 fixed
  582. * the following bugs fixed: 0117, 0118, 0119 and 0129, 0122 was already
  583. fixed, verified
  584. Revision 1.11 1998/04/13 08:42:51 florian
  585. * call by reference and call by value open arrays fixed
  586. Revision 1.10 1998/04/12 22:39:43 florian
  587. * problem with read access to properties solved
  588. * correct handling of hidding methods via virtual (COM)
  589. * correct result type of constructor calls (COM), the resulttype
  590. depends now on the type of the class reference
  591. Revision 1.9 1998/04/10 21:36:55 florian
  592. + some stuff to support method pointers (procedure of object) added
  593. (declaration, parameter handling)
  594. Revision 1.8 1998/04/09 22:16:33 florian
  595. * problem with previous REGALLOC solved
  596. * improved property support
  597. Revision 1.7 1998/04/09 14:28:05 jonas
  598. + basic k6 and 6x86 optimizing support (-O7 and -O8)
  599. Revision 1.6 1998/04/08 11:34:20 peter
  600. * nasm works (linux only tested)
  601. Revision 1.5 1998/04/07 22:45:04 florian
  602. * bug0092, bug0115 and bug0121 fixed
  603. + packed object/class/array
  604. Revision 1.4 1998/04/07 13:19:42 pierre
  605. * bugfixes for reset_gdb_info
  606. in MEM parsing for go32v2
  607. better external symbol creation
  608. support for rhgdb.exe (lowercase file names)
  609. }