nbas.pas 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. {
  2. $Id$
  3. Copyright (c) 2000 by Florian Klaempfl
  4. This unit implements some basic nodes
  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. unit nbas;
  19. {$i defines.inc}
  20. interface
  21. uses
  22. aasm,symtype,node,cpubase;
  23. type
  24. tnothingnode = class(tnode)
  25. constructor create;virtual;
  26. function pass_1 : tnode;override;
  27. function det_resulttype:tnode;override;
  28. end;
  29. tnothingnodeclass = class of tnothingnode;
  30. terrornode = class(tnode)
  31. constructor create;virtual;
  32. function pass_1 : tnode;override;
  33. function det_resulttype:tnode;override;
  34. end;
  35. terrornodeclass = class of terrornode;
  36. tasmnode = class(tnode)
  37. p_asm : taasmoutput;
  38. constructor create(p : taasmoutput);virtual;
  39. destructor destroy;override;
  40. function getcopy : tnode;override;
  41. function pass_1 : tnode;override;
  42. function det_resulttype:tnode;override;
  43. function docompare(p: tnode): boolean; override;
  44. end;
  45. tasmnodeclass = class of tasmnode;
  46. tstatementnode = class(tbinarynode)
  47. constructor create(l,r : tnode);virtual;
  48. function pass_1 : tnode;override;
  49. function det_resulttype:tnode;override;
  50. {$ifdef extdebug}
  51. procedure dowrite;override;
  52. {$endif extdebug}
  53. end;
  54. tstatementnodeclass = class of tstatementnode;
  55. tblocknode = class(tunarynode)
  56. constructor create(l : tnode);virtual;
  57. function pass_1 : tnode;override;
  58. function det_resulttype:tnode;override;
  59. end;
  60. tblocknodeclass = class of tblocknode;
  61. { to allow access to the location by temp references even after the temp has }
  62. { already been disposed and to make sure the coherency between temps and }
  63. { temp references is kept after a getcopy }
  64. ptempinfo = ^ttempinfo;
  65. ttempinfo = record
  66. { set to the copy of a tempcreate pnode (if it gets copied) so that the }
  67. { refs and deletenode can hook to this copy once they get copied too }
  68. hookoncopy: ptempinfo;
  69. ref: treference;
  70. restype: ttype;
  71. valid: boolean;
  72. end;
  73. { a node which will create a (non)persistent temp of a given type with a given }
  74. { size (the size is separate to allow creating "void" temps with a custom size) }
  75. ttempcreatenode = class(tnode)
  76. size: longint;
  77. tempinfo: ptempinfo;
  78. { * persistent temps are used in manually written code where the temp }
  79. { be usable among different statements and where you can manually say }
  80. { when the temp has to be freed (using a ttempdeletenode) }
  81. { * non-persistent temps are mostly used in typeconversion helpers, }
  82. { where the node that receives the temp becomes responsible for }
  83. { freeing it. In this last case, you should use only one reference }
  84. { to it and *not* generate a ttempdeletenode }
  85. constructor create(const _restype: ttype; _size: longint; _persistent: boolean); virtual;
  86. function getcopy: tnode; override;
  87. function pass_1 : tnode; override;
  88. function det_resulttype: tnode; override;
  89. function docompare(p: tnode): boolean; override;
  90. protected
  91. persistent: boolean;
  92. end;
  93. ttempcreatenodeclass = class of ttempcreatenode;
  94. { a node which is a reference to a certain temp }
  95. ttemprefnode = class(tnode)
  96. constructor create(const temp: ttempcreatenode); virtual;
  97. function getcopy: tnode; override;
  98. function pass_1 : tnode; override;
  99. function det_resulttype : tnode; override;
  100. function docompare(p: tnode): boolean; override;
  101. protected
  102. tempinfo: ptempinfo;
  103. end;
  104. ttemprefnodeclass = class of ttemprefnode;
  105. { a node which removes a temp }
  106. ttempdeletenode = class(tnode)
  107. constructor create(const temp: ttempcreatenode);
  108. function getcopy: tnode; override;
  109. function pass_1: tnode; override;
  110. function det_resulttype: tnode; override;
  111. function docompare(p: tnode): boolean; override;
  112. destructor destroy; override;
  113. protected
  114. tempinfo: ptempinfo;
  115. end;
  116. ttempdeletenodeclass = class of ttempdeletenode;
  117. var
  118. cnothingnode : tnothingnodeclass;
  119. cerrornode : terrornodeclass;
  120. casmnode : tasmnodeclass;
  121. cstatementnode : tstatementnodeclass;
  122. cblocknode : tblocknodeclass;
  123. ctempcreatenode : ttempcreatenodeclass;
  124. ctemprefnode : ttemprefnodeclass;
  125. ctempdeletenode : ttempdeletenodeclass;
  126. implementation
  127. uses
  128. cutils,
  129. verbose,globals,globtype,systems,
  130. symconst,symdef,symsym,types,
  131. pass_1,
  132. ncal,nflw,rgobj,cgbase
  133. ;
  134. {*****************************************************************************
  135. TFIRSTNOTHING
  136. *****************************************************************************}
  137. constructor tnothingnode.create;
  138. begin
  139. inherited create(nothingn);
  140. end;
  141. function tnothingnode.det_resulttype:tnode;
  142. begin
  143. result:=nil;
  144. resulttype:=voidtype;
  145. end;
  146. function tnothingnode.pass_1 : tnode;
  147. begin
  148. result:=nil;
  149. end;
  150. {*****************************************************************************
  151. TFIRSTERROR
  152. *****************************************************************************}
  153. constructor terrornode.create;
  154. begin
  155. inherited create(errorn);
  156. end;
  157. function terrornode.det_resulttype:tnode;
  158. begin
  159. result:=nil;
  160. include(flags,nf_error);
  161. codegenerror:=true;
  162. resulttype:=generrortype;
  163. end;
  164. function terrornode.pass_1 : tnode;
  165. begin
  166. result:=nil;
  167. codegenerror:=true;
  168. end;
  169. {*****************************************************************************
  170. TSTATEMENTNODE
  171. *****************************************************************************}
  172. constructor tstatementnode.create(l,r : tnode);
  173. begin
  174. inherited create(statementn,l,r);
  175. end;
  176. function tstatementnode.det_resulttype:tnode;
  177. begin
  178. result:=nil;
  179. resulttype:=voidtype;
  180. { right is the statement itself calln assignn or a complex one }
  181. resulttypepass(right);
  182. if (not (cs_extsyntax in aktmoduleswitches)) and
  183. assigned(right.resulttype.def) and
  184. not((right.nodetype=calln) and
  185. (tcallnode(right).procdefinition.proctypeoption=potype_constructor)) and
  186. not(is_void(right.resulttype.def)) then
  187. CGMessage(cg_e_illegal_expression);
  188. if codegenerror then
  189. exit;
  190. { left is the next in the list }
  191. resulttypepass(left);
  192. if codegenerror then
  193. exit;
  194. end;
  195. function tstatementnode.pass_1 : tnode;
  196. begin
  197. result:=nil;
  198. { no temps over several statements }
  199. rg.cleartempgen;
  200. { right is the statement itself calln assignn or a complex one }
  201. firstpass(right);
  202. if codegenerror then
  203. exit;
  204. registers32:=right.registers32;
  205. registersfpu:=right.registersfpu;
  206. {$ifdef SUPPORT_MMX}
  207. registersmmx:=right.registersmmx;
  208. {$endif SUPPORT_MMX}
  209. { left is the next in the list }
  210. firstpass(left);
  211. if codegenerror then
  212. exit;
  213. if right.registers32>registers32 then
  214. registers32:=right.registers32;
  215. if right.registersfpu>registersfpu then
  216. registersfpu:=right.registersfpu;
  217. {$ifdef SUPPORT_MMX}
  218. if right.registersmmx>registersmmx then
  219. registersmmx:=right.registersmmx;
  220. {$endif}
  221. end;
  222. {$ifdef extdebug}
  223. procedure tstatementnode.dowrite;
  224. begin
  225. { can't use inherited dowrite, because that will use the
  226. binary which we don't want for statements }
  227. dowritenodetype;
  228. writeln(',');
  229. { write the statement }
  230. writenodeindention:=writenodeindention+' ';
  231. writenode(right);
  232. writeln(')');
  233. delete(writenodeindention,1,4);
  234. { go on with the next statement }
  235. writenode(left);
  236. end;
  237. {$endif}
  238. {*****************************************************************************
  239. TBLOCKNODE
  240. *****************************************************************************}
  241. constructor tblocknode.create(l : tnode);
  242. begin
  243. inherited create(blockn,l);
  244. end;
  245. function tblocknode.det_resulttype:tnode;
  246. var
  247. hp : tstatementnode;
  248. begin
  249. result:=nil;
  250. resulttype:=voidtype;
  251. hp:=tstatementnode(left);
  252. while assigned(hp) do
  253. begin
  254. if assigned(hp.right) then
  255. begin
  256. codegenerror:=false;
  257. resulttypepass(hp.right);
  258. if (not (cs_extsyntax in aktmoduleswitches)) and
  259. assigned(hp.right.resulttype.def) and
  260. not((hp.right.nodetype=calln) and
  261. (tcallnode(hp.right).procdefinition.proctypeoption=potype_constructor)) and
  262. not(is_void(hp.right.resulttype.def)) then
  263. CGMessage(cg_e_illegal_expression);
  264. end;
  265. hp:=tstatementnode(hp.left);
  266. end;
  267. end;
  268. function tblocknode.pass_1 : tnode;
  269. var
  270. hp : tstatementnode;
  271. count : longint;
  272. begin
  273. result:=nil;
  274. count:=0;
  275. hp:=tstatementnode(left);
  276. while assigned(hp) do
  277. begin
  278. if cs_regalloc in aktglobalswitches then
  279. begin
  280. { node transformations }
  281. { concat function result to exit }
  282. { this is wrong for string or other complex
  283. result types !!! }
  284. if {ret_in_acc(aktprocdef.rettype.def) and }
  285. (is_ordinal(aktprocdef.rettype.def) or
  286. is_smallset(aktprocdef.rettype.def)) and
  287. assigned(hp.left) and
  288. assigned(tstatementnode(hp.left).right) and
  289. (tstatementnode(hp.left).right.nodetype=exitn) and
  290. (hp.right.nodetype=assignn) and
  291. { !!!! this tbinarynode should be tassignmentnode }
  292. (tbinarynode(hp.right).left.nodetype=funcretn) then
  293. begin
  294. if assigned(texitnode(tstatementnode(hp.left).right).left) then
  295. CGMessage(cg_n_inefficient_code)
  296. else
  297. begin
  298. texitnode(tstatementnode(hp.left).right).left:=tstatementnode(hp.right).right;
  299. tstatementnode(hp.right).right:=nil;
  300. hp.right.free;
  301. hp.right:=nil;
  302. end;
  303. end
  304. { warning if unreachable code occurs and elimate this }
  305. else if (hp.right.nodetype in
  306. [exitn,breakn,continuen,goton]) and
  307. { statement node (JM) }
  308. assigned(hp.left) and
  309. { kind of statement! (JM) }
  310. assigned(tstatementnode(hp.left).right) and
  311. (tstatementnode(hp.left).right.nodetype<>labeln) then
  312. begin
  313. { use correct line number }
  314. aktfilepos:=hp.left.fileinfo;
  315. hp.left.free;
  316. hp.left:=nil;
  317. CGMessage(cg_w_unreachable_code);
  318. { old lines }
  319. aktfilepos:=hp.right.fileinfo;
  320. end;
  321. end;
  322. if assigned(hp.right) then
  323. begin
  324. rg.cleartempgen;
  325. codegenerror:=false;
  326. firstpass(hp.right);
  327. hp.registers32:=hp.right.registers32;
  328. hp.registersfpu:=hp.right.registersfpu;
  329. {$ifdef SUPPORT_MMX}
  330. hp.registersmmx:=hp.right.registersmmx;
  331. {$endif SUPPORT_MMX}
  332. end
  333. else
  334. hp.registers32:=0;
  335. if hp.registers32>registers32 then
  336. registers32:=hp.registers32;
  337. if hp.registersfpu>registersfpu then
  338. registersfpu:=hp.registersfpu;
  339. {$ifdef SUPPORT_MMX}
  340. if hp.registersmmx>registersmmx then
  341. registersmmx:=hp.registersmmx;
  342. {$endif}
  343. inc(count);
  344. hp:=tstatementnode(hp.left);
  345. end;
  346. end;
  347. {*****************************************************************************
  348. TASMNODE
  349. *****************************************************************************}
  350. constructor tasmnode.create(p : taasmoutput);
  351. begin
  352. inherited create(asmn);
  353. p_asm:=p;
  354. end;
  355. destructor tasmnode.destroy;
  356. begin
  357. if assigned(p_asm) then
  358. p_asm.free;
  359. inherited destroy;
  360. end;
  361. function tasmnode.getcopy: tnode;
  362. var
  363. n: tasmnode;
  364. begin
  365. n := tasmnode(inherited getcopy);
  366. if assigned(p_asm) then
  367. begin
  368. n.p_asm:=taasmoutput.create;
  369. n.p_asm.concatlistcopy(p_asm);
  370. end
  371. else n.p_asm := nil;
  372. getcopy := n;
  373. end;
  374. function tasmnode.det_resulttype:tnode;
  375. begin
  376. result:=nil;
  377. resulttype:=voidtype;
  378. end;
  379. function tasmnode.pass_1 : tnode;
  380. begin
  381. result:=nil;
  382. procinfo^.flags:=procinfo^.flags or pi_uses_asm;
  383. end;
  384. function tasmnode.docompare(p: tnode): boolean;
  385. begin
  386. { comparing of asmlists is not implemented (JM) }
  387. docompare := false;
  388. end;
  389. {*****************************************************************************
  390. TEMPCREATENODE
  391. *****************************************************************************}
  392. constructor ttempcreatenode.create(const _restype: ttype; _size: longint; _persistent: boolean);
  393. begin
  394. inherited create(tempn);
  395. size := _size;
  396. new(tempinfo);
  397. fillchar(tempinfo^,sizeof(tempinfo^),0);
  398. tempinfo^.restype := _restype;
  399. persistent := _persistent;
  400. end;
  401. function ttempcreatenode.getcopy: tnode;
  402. var
  403. n: ttempcreatenode;
  404. begin
  405. n := ttempcreatenode(inherited getcopy);
  406. n.size := size;
  407. new(n.tempinfo);
  408. fillchar(n.tempinfo^,sizeof(n.tempinfo^),0);
  409. n.tempinfo^.restype := tempinfo^.restype;
  410. { signal the temprefs that the temp they point to has been copied, }
  411. { so that if the refs get copied as well, they can hook themselves }
  412. { to the copy of the temp }
  413. tempinfo^.hookoncopy := n.tempinfo;
  414. result := n;
  415. end;
  416. function ttempcreatenode.pass_1 : tnode;
  417. begin
  418. result := nil;
  419. end;
  420. function ttempcreatenode.det_resulttype: tnode;
  421. begin
  422. result := nil;
  423. { a tempcreatenode doesn't have a resulttype, only temprefnodes do }
  424. resulttype := voidtype;
  425. end;
  426. function ttempcreatenode.docompare(p: tnode): boolean;
  427. begin
  428. result :=
  429. inherited docompare(p) and
  430. (ttempcreatenode(p).size = size) and
  431. is_equal(ttempcreatenode(p).tempinfo^.restype.def,tempinfo^.restype.def);
  432. end;
  433. {*****************************************************************************
  434. TEMPREFNODE
  435. *****************************************************************************}
  436. constructor ttemprefnode.create(const temp: ttempcreatenode);
  437. begin
  438. inherited create(temprefn);
  439. tempinfo := temp.tempinfo;
  440. end;
  441. function ttemprefnode.getcopy: tnode;
  442. var
  443. n: ttemprefnode;
  444. begin
  445. n := ttemprefnode(inherited getcopy);
  446. if assigned(tempinfo^.hookoncopy) then
  447. { if the temp has been copied, assume it becomes a new }
  448. { temp which has to be hooked by the copied reference }
  449. begin
  450. { hook the ref to the copied temp }
  451. n.tempinfo := tempinfo^.hookoncopy;
  452. end
  453. else
  454. { if the temp we refer to hasn't been copied, assume }
  455. { we're just a new reference to that temp }
  456. begin
  457. n.tempinfo := tempinfo;
  458. end;
  459. result := n;
  460. end;
  461. function ttemprefnode.pass_1 : tnode;
  462. begin
  463. result := nil;
  464. end;
  465. function ttemprefnode.det_resulttype: tnode;
  466. begin
  467. { check if the temp is already resulttype passed }
  468. if not assigned(tempinfo^.restype.def) then
  469. internalerror(200108233);
  470. result := nil;
  471. resulttype := tempinfo^.restype;
  472. end;
  473. function ttemprefnode.docompare(p: tnode): boolean;
  474. begin
  475. result :=
  476. inherited docompare(p) and
  477. (ttemprefnode(p).tempinfo = tempinfo);
  478. end;
  479. {*****************************************************************************
  480. TEMPDELETENODE
  481. *****************************************************************************}
  482. constructor ttempdeletenode.create(const temp: ttempcreatenode);
  483. begin
  484. inherited create(temprefn);
  485. tempinfo := temp.tempinfo;
  486. end;
  487. function ttempdeletenode.getcopy: tnode;
  488. var
  489. n: ttempdeletenode;
  490. begin
  491. n := ttempdeletenode(inherited getcopy);
  492. if assigned(tempinfo^.hookoncopy) then
  493. { if the temp has been copied, assume it becomes a new }
  494. { temp which has to be hooked by the copied deletenode }
  495. begin
  496. { hook the tempdeletenode to the copied temp }
  497. n.tempinfo := tempinfo^.hookoncopy;
  498. end
  499. else
  500. { if the temp we refer to hasn't been copied, we have a }
  501. { problem since that means we now have two delete nodes }
  502. { for one temp }
  503. internalerror(200108234);
  504. result := n;
  505. end;
  506. function ttempdeletenode.pass_1 : tnode;
  507. begin
  508. result := nil;
  509. end;
  510. function ttempdeletenode.det_resulttype: tnode;
  511. begin
  512. result := nil;
  513. resulttype := voidtype;
  514. end;
  515. function ttempdeletenode.docompare(p: tnode): boolean;
  516. begin
  517. result :=
  518. inherited docompare(p) and
  519. (ttemprefnode(p).tempinfo = tempinfo);
  520. end;
  521. destructor ttempdeletenode.destroy;
  522. begin
  523. dispose(tempinfo);
  524. end;
  525. begin
  526. cnothingnode:=tnothingnode;
  527. cerrornode:=terrornode;
  528. casmnode:=tasmnode;
  529. cstatementnode:=tstatementnode;
  530. cblocknode:=tblocknode;
  531. ctempcreatenode:=ttempcreatenode;
  532. ctemprefnode:=ttemprefnode;
  533. ctempdeletenode:=ttempdeletenode;
  534. end.
  535. {
  536. $Log$
  537. Revision 1.19 2002-03-31 20:26:33 jonas
  538. + a_loadfpu_* and a_loadmm_* methods in tcg
  539. * register allocation is now handled by a class and is mostly processor
  540. independent (+rgobj.pas and i386/rgcpu.pas)
  541. * temp allocation is now handled by a class (+tgobj.pas, -i386\tgcpu.pas)
  542. * some small improvements and fixes to the optimizer
  543. * some register allocation fixes
  544. * some fpuvaroffset fixes in the unary minus node
  545. * push/popusedregisters is now called rg.save/restoreusedregisters and
  546. (for i386) uses temps instead of push/pop's when using -Op3 (that code is
  547. also better optimizable)
  548. * fixed and optimized register saving/restoring for new/dispose nodes
  549. * LOC_FPU locations now also require their "register" field to be set to
  550. R_ST, not R_ST0 (the latter is used for LOC_CFPUREGISTER locations only)
  551. - list field removed of the tnode class because it's not used currently
  552. and can cause hard-to-find bugs
  553. Revision 1.18 2001/11/02 22:58:01 peter
  554. * procsym definition rewrite
  555. Revision 1.17 2001/09/02 21:12:06 peter
  556. * move class of definitions into type section for delphi
  557. Revision 1.16 2001/08/26 13:36:38 florian
  558. * some cg reorganisation
  559. * some PPC updates
  560. Revision 1.15 2001/08/24 13:47:26 jonas
  561. * moved "reverseparameters" from ninl.pas to ncal.pas
  562. + support for non-persistent temps in ttempcreatenode.create, for use
  563. with typeconversion nodes
  564. Revision 1.14 2001/08/23 14:28:35 jonas
  565. + tempcreate/ref/delete nodes (allows the use of temps in the
  566. resulttype and first pass)
  567. * made handling of read(ln)/write(ln) processor independent
  568. * moved processor independent handling for str and reset/rewrite-typed
  569. from firstpass to resulttype pass
  570. * changed names of helpers in text.inc to be generic for use as
  571. compilerprocs + added "iocheck" directive for most of them
  572. * reading of ordinals is done by procedures instead of functions
  573. because otherwise FPC_IOCHECK overwrote the result before it could
  574. be stored elsewhere (range checking still works)
  575. * compilerprocs can now be used in the system unit before they are
  576. implemented
  577. * added note to errore.msg that booleans can't be read using read/readln
  578. Revision 1.13 2001/08/06 21:40:46 peter
  579. * funcret moved from tprocinfo to tprocdef
  580. Revision 1.12 2001/06/11 17:41:12 jonas
  581. * fixed web bug 1501 in conjunction with -Or
  582. Revision 1.11 2001/05/18 22:31:06 peter
  583. * tasmnode.pass_2 is independent of cpu, moved to ncgbas
  584. * include ncgbas for independent nodes
  585. Revision 1.10 2001/04/13 01:22:08 peter
  586. * symtable change to classes
  587. * range check generation and errors fixed, make cycle DEBUG=1 works
  588. * memory leaks fixed
  589. Revision 1.9 2001/04/02 21:20:30 peter
  590. * resulttype rewrite
  591. Revision 1.8 2001/02/05 20:45:49 peter
  592. * fixed buf 1364
  593. Revision 1.7 2000/12/31 11:14:10 jonas
  594. + implemented/fixed docompare() mathods for all nodes (not tested)
  595. + nopt.pas, nadd.pas, i386/n386opt.pas: optimized nodes for adding strings
  596. and constant strings/chars together
  597. * n386add.pas: don't copy temp strings (of size 256) to another temp string
  598. when adding
  599. Revision 1.6 2000/12/25 00:07:26 peter
  600. + new tlinkedlist class (merge of old tstringqueue,tcontainer and
  601. tlinkedlist objects)
  602. Revision 1.5 2000/11/29 00:30:31 florian
  603. * unused units removed from uses clause
  604. * some changes for widestrings
  605. Revision 1.4 2000/10/31 22:02:47 peter
  606. * symtable splitted, no real code changes
  607. Revision 1.3 2000/10/27 14:57:16 jonas
  608. + implementation for tasmnode.getcopy
  609. Revision 1.2 2000/10/14 21:52:54 peter
  610. * fixed memory leaks
  611. Revision 1.1 2000/10/14 10:14:50 peter
  612. * moehrendorf oct 2000 rewrite
  613. }