nbas.pas 24 KB

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