tgobj.pas 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. {
  2. $Id$
  3. Copyright (c) 1998-2000 by Florian Klaempfl
  4. This unit implements the base object for temp. generator
  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 tgobj;
  19. interface
  20. uses
  21. cpubase,
  22. cpuinfo,
  23. cpuasm,
  24. tainst,
  25. cobjects,globals,tree,cgbase,verbose,files,aasm;
  26. type
  27. tregisterset = set of tregister;
  28. tpushed = array[firstreg..lastreg] of boolean;
  29. tsaved = array[firstreg..lastreg] of longint;
  30. ttemptype = (tt_none,tt_free,tt_normal,tt_persistant,tt_ansistring,tt_freeansistring,tt_widestring,tt_freewidestring);
  31. ttemptypeset = set of ttemptype;
  32. ptemprecord = ^ttemprecord;
  33. ttemprecord = record
  34. temptype : ttemptype;
  35. pos : longint;
  36. size : longint;
  37. next : ptemprecord;
  38. nextfree : ptemprecord; { for faster freeblock checking }
  39. {$ifdef EXTDEBUG}
  40. posinfo,
  41. releaseposinfo : tfileposinfo;
  42. {$endif}
  43. end;
  44. ttgobj = object
  45. unusedregsint,availabletempregsint : tregisterset;
  46. unusedregsfpu,availabletempregsfpu : tregisterset;
  47. unusedregsmm,availabletempregsmm : tregisterset;
  48. countusableregsint,
  49. countusableregsfpu,
  50. countusableregsmm : byte;
  51. c_countusableregsint,
  52. c_countusableregsfpu,
  53. c_countusableregsmm : byte;
  54. usedinproc : tregisterset;
  55. reg_pushes : array[firstreg..lastreg] of longint;
  56. is_reg_var : array[firstreg..lastreg] of boolean;
  57. { contains all temps }
  58. templist : ptemprecord;
  59. { contains all free temps using nextfree links }
  60. tempfreelist : ptemprecord;
  61. { Offsets of the first/last temp }
  62. firsttemp,
  63. lasttemp : longint;
  64. constructor init;
  65. { generates temporary variables }
  66. procedure resettempgen;
  67. procedure setfirsttemp(l : longint);
  68. function gettempsize : longint;
  69. function newtempofsize(size : longint) : longint;
  70. function gettempofsize(size : longint) : longint;
  71. { special call for inlined procedures }
  72. function gettempofsizepersistant(size : longint) : longint;
  73. { for parameter func returns }
  74. procedure normaltemptopersistant(pos : longint);
  75. procedure persistanttemptonormal(pos : longint);
  76. procedure ungetpersistanttemp(pos : longint);
  77. procedure gettempofsizereference(l : longint;var ref : treference);
  78. function istemp(const ref : treference) : boolean;virtual;
  79. procedure ungetiftemp(const ref : treference);
  80. function ungetiftempansi(const ref : treference) : boolean;
  81. function gettempansistringreference(var ref : treference):boolean;
  82. { the following methods must be overriden }
  83. function getregisterint : tregister;virtual;
  84. procedure ungetregisterint(r : tregister);virtual;
  85. { tries to allocate the passed register, if possible }
  86. function getexplicitregisterint(r : tregister) : tregister;virtual;
  87. procedure ungetregister(r : tregister);virtual;
  88. procedure cleartempgen;virtual;
  89. procedure del_reference(const ref : treference);virtual;
  90. procedure del_locref(const location : tlocation);virtual;
  91. procedure del_location(const l : tlocation);virtual;
  92. { pushs and restores registers }
  93. procedure pushusedregisters(var pushed : tpushed;b : byte);virtual;
  94. procedure popusedregisters(const pushed : tpushed);virtual;
  95. { saves and restores used registers to temp. values }
  96. procedure saveusedregisters(var saved : tsaved;b : byte);virtual;
  97. procedure restoreusedregisters(const saved : tsaved);virtual;
  98. procedure clearregistercount;virtual;
  99. procedure resetusableregisters;virtual;
  100. private
  101. function ungettemp(pos:longint;allowtype:ttemptype):ttemptype;
  102. end;
  103. implementation
  104. uses
  105. scanner,systems;
  106. constructor ttgobj.init;
  107. begin
  108. tempfreelist:=nil;
  109. templist:=nil;
  110. end;
  111. procedure ttgobj.resettempgen;
  112. var
  113. hp : ptemprecord;
  114. begin
  115. { Clear the old templist }
  116. while assigned(templist) do
  117. begin
  118. {$ifdef EXTDEBUG}
  119. case templist^.temptype of
  120. tt_normal,
  121. tt_persistant :
  122. Comment(V_Warning,'temporary assignment of size '+
  123. tostr(templist^.size)+' from pos '+tostr(templist^.posinfo.line)+
  124. ':'+tostr(templist^.posinfo.column)+
  125. ' at pos '+tostr(templist^.pos)+
  126. ' not freed at the end of the procedure');
  127. tt_ansistring :
  128. Comment(V_Warning,'temporary ANSI assignment of size '+
  129. tostr(templist^.size)+' from pos '+tostr(templist^.posinfo.line)+
  130. ':'+tostr(templist^.posinfo.column)+
  131. ' at pos '+tostr(templist^.pos)+
  132. ' not freed at the end of the procedure');
  133. end;
  134. {$endif}
  135. hp:=templist;
  136. templist:=hp^.next;
  137. dispose(hp);
  138. end;
  139. templist:=nil;
  140. tempfreelist:=nil;
  141. firsttemp:=0;
  142. lasttemp:=0;
  143. end;
  144. procedure ttgobj.setfirsttemp(l : longint);
  145. begin
  146. { this is a negative value normally }
  147. if l < 0 then
  148. Begin
  149. if odd(l) then
  150. Dec(l);
  151. end
  152. else
  153. Begin
  154. if odd(l) then
  155. Inc(l);
  156. end;
  157. firsttemp:=l;
  158. lasttemp:=l;
  159. end;
  160. function ttgobj.newtempofsize(size : longint) : longint;
  161. var
  162. tl : ptemprecord;
  163. begin
  164. { Just extend the temp, everything below has been use
  165. already }
  166. dec(lasttemp,size);
  167. { now we can create the templist entry }
  168. new(tl);
  169. tl^.temptype:=tt_normal;
  170. tl^.pos:=lasttemp;
  171. tl^.size:=size;
  172. tl^.next:=templist;
  173. tl^.nextfree:=nil;
  174. templist:=tl;
  175. newtempofsize:=tl^.pos;
  176. end;
  177. function ttgobj.gettempofsize(size : longint) : longint;
  178. var
  179. tl,
  180. bestslot,bestprev,
  181. hprev,hp : ptemprecord;
  182. bestsize,ofs : longint;
  183. begin
  184. bestprev:=nil;
  185. bestslot:=nil;
  186. tl:=nil;
  187. bestsize:=0;
  188. { Align needed size on 4 bytes }
  189. if (size mod 4)<>0 then
  190. size:=size+(4-(size mod 4));
  191. { First check the tmpfreelist }
  192. if assigned(tempfreelist) then
  193. begin
  194. { Check for a slot with the same size first }
  195. hprev:=nil;
  196. hp:=tempfreelist;
  197. while assigned(hp) do
  198. begin
  199. {$ifdef EXTDEBUG}
  200. if hp^.temptype<>tt_free then
  201. Comment(V_Warning,'Temp in freelist is not set to tt_free');
  202. {$endif}
  203. if hp^.size>=size then
  204. begin
  205. { Slot is the same size, then leave immediatly }
  206. if hp^.size=size then
  207. begin
  208. bestprev:=hprev;
  209. bestslot:=hp;
  210. bestsize:=size;
  211. break;
  212. end
  213. else
  214. begin
  215. if (bestsize=0) or (hp^.size<bestsize) then
  216. begin
  217. bestprev:=hprev;
  218. bestslot:=hp;
  219. bestsize:=hp^.size;
  220. end;
  221. end;
  222. end;
  223. hprev:=hp;
  224. hp:=hp^.nextfree;
  225. end;
  226. end;
  227. { Reuse an old temp ? }
  228. if assigned(bestslot) then
  229. begin
  230. if bestsize=size then
  231. begin
  232. bestslot^.temptype:=tt_normal;
  233. ofs:=bestslot^.pos;
  234. tl:=bestslot;
  235. { Remove from the tempfreelist }
  236. if assigned(bestprev) then
  237. bestprev^.nextfree:=bestslot^.nextfree
  238. else
  239. tempfreelist:=bestslot^.nextfree;
  240. end
  241. else
  242. begin
  243. { Resize the old block }
  244. dec(bestslot^.size,size);
  245. { Create new block and link after bestslot }
  246. new(tl);
  247. tl^.temptype:=tt_normal;
  248. tl^.pos:=bestslot^.pos+bestslot^.size;
  249. ofs:=tl^.pos;
  250. tl^.size:=size;
  251. tl^.nextfree:=nil;
  252. { link the new block }
  253. tl^.next:=bestslot^.next;
  254. bestslot^.next:=tl;
  255. end;
  256. end
  257. else
  258. begin
  259. ofs:=newtempofsize(size);
  260. {$ifdef EXTDEBUG}
  261. tl:=templist;
  262. {$endif}
  263. end;
  264. {$ifdef EXTDEBUG}
  265. tl^.posinfo:=aktfilepos;
  266. {$endif}
  267. exprasmlist^.concat(new(paitempalloc,alloc(ofs,size)));
  268. gettempofsize:=ofs;
  269. end;
  270. function ttgobj.gettempofsizepersistant(size : longint) : longint;
  271. var
  272. l : longint;
  273. begin
  274. l:=gettempofsize(size);
  275. templist^.temptype:=tt_persistant;
  276. {$ifdef EXTDEBUG}
  277. Comment(V_Debug,'temp managment : call to gettempofsizepersistant()'+
  278. ' with size '+tostr(size)+' returned '+tostr(l));
  279. {$endif}
  280. gettempofsizepersistant:=l;
  281. end;
  282. function ttgobj.gettempsize : longint;
  283. begin
  284. gettempsize:=Align(-lasttemp,target_os.stackalignment);
  285. end;
  286. procedure ttgobj.gettempofsizereference(l : longint;var ref : treference);
  287. begin
  288. { do a reset, because the reference isn't used }
  289. reset_reference(ref);
  290. ref.offset:=gettempofsize(l);
  291. ref.base:=procinfo^.framepointer;
  292. end;
  293. function ttgobj.gettempansistringreference(var ref : treference):boolean;
  294. var
  295. foundslot,tl : ptemprecord;
  296. begin
  297. { do a reset, because the reference isn't used }
  298. reset_reference(ref);
  299. ref.base:=procinfo^.framepointer;
  300. { Reuse old ansi slot ? }
  301. foundslot:=nil;
  302. tl:=templist;
  303. while assigned(tl) do
  304. begin
  305. if tl^.temptype=tt_freeansistring then
  306. begin
  307. foundslot:=tl;
  308. {$ifdef EXTDEBUG}
  309. tl^.posinfo:=aktfilepos;
  310. {$endif}
  311. break;
  312. end;
  313. tl:=tl^.next;
  314. end;
  315. if assigned(foundslot) then
  316. begin
  317. foundslot^.temptype:=tt_ansistring;
  318. ref.offset:=foundslot^.pos;
  319. { we're reusing an old slot then set the function result to true
  320. so that we can call a decr_ansistr }
  321. gettempansistringreference:=true;
  322. end
  323. else
  324. begin
  325. ref.offset:=newtempofsize(target_os.size_of_pointer);
  326. {$ifdef EXTDEBUG}
  327. templist^.posinfo:=aktfilepos;
  328. {$endif}
  329. templist^.temptype:=tt_ansistring;
  330. { set result to false, we don't need an decr_ansistr }
  331. gettempansistringreference:=true;
  332. end;
  333. exprasmlist^.concat(new(paitempalloc,alloc(ref.offset,target_os.size_of_pointer)));
  334. end;
  335. function ttgobj.ungetiftempansi(const ref : treference) : boolean;
  336. var
  337. tl : ptemprecord;
  338. begin
  339. ungetiftempansi:=false;
  340. tl:=templist;
  341. while assigned(tl) do
  342. begin
  343. if tl^.pos=ref.offset then
  344. begin
  345. if tl^.temptype=tt_ansistring then
  346. begin
  347. tl^.temptype:=tt_freeansistring;
  348. ungetiftempansi:=true;
  349. exprasmlist^.concat(new(paitempalloc,dealloc(tl^.pos,tl^.size)));
  350. exit;
  351. {$ifdef EXTDEBUG}
  352. end
  353. else if (tl^.temptype=tt_freeansistring) then
  354. begin
  355. Comment(V_Debug,'temp ansi managment problem : ungetiftempansi()'+
  356. ' at pos '+tostr(ref.offset)+ ' already free !');
  357. {$endif}
  358. end;
  359. end;
  360. tl:=tl^.next;
  361. end;
  362. end;
  363. function ttgobj.istemp(const ref : treference) : boolean;
  364. begin
  365. istemp:=((ref.base=procinfo^.framepointer) and
  366. (ref.offset<firsttemp));
  367. end;
  368. procedure ttgobj.persistanttemptonormal(pos : longint);
  369. var
  370. hp : ptemprecord;
  371. begin
  372. hp:=templist;
  373. while assigned(hp) do
  374. if (hp^.pos=pos) and (hp^.temptype=tt_persistant) then
  375. begin
  376. {$ifdef EXTDEBUG}
  377. Comment(V_Debug,'temp managment : persistanttemptonormal()'+
  378. ' at pos '+tostr(pos)+ ' found !');
  379. {$endif}
  380. hp^.temptype:=tt_normal;
  381. exit;
  382. end
  383. else
  384. hp:=hp^.next;
  385. {$ifdef EXTDEBUG}
  386. Comment(V_Debug,'temp managment problem : persistanttemptonormal()'+
  387. ' at pos '+tostr(pos)+ ' not found !');
  388. {$endif}
  389. end;
  390. procedure ttgobj.normaltemptopersistant(pos : longint);
  391. var
  392. hp : ptemprecord;
  393. begin
  394. hp:=templist;
  395. while assigned(hp) do
  396. if (hp^.pos=pos) and (hp^.temptype=tt_normal) then
  397. begin
  398. {$ifdef EXTDEBUG}
  399. Comment(V_Debug,'temp managment : normaltemptopersistant()'+
  400. ' at pos '+tostr(pos)+ ' found !');
  401. {$endif}
  402. hp^.temptype:=tt_persistant;
  403. exit;
  404. end
  405. else
  406. hp:=hp^.next;
  407. {$ifdef EXTDEBUG}
  408. Comment(V_Debug,'temp managment problem : normaltemptopersistant()'+
  409. ' at pos '+tostr(pos)+ ' not found !');
  410. {$endif}
  411. end;
  412. function ttgobj.ungettemp(pos:longint;allowtype:ttemptype):ttemptype;
  413. var
  414. hp,hnext,hprev,hprevfree : ptemprecord;
  415. begin
  416. ungettemp:=tt_none;
  417. hp:=templist;
  418. hprev:=nil;
  419. hprevfree:=nil;
  420. while assigned(hp) do
  421. begin
  422. if (hp^.pos=pos) then
  423. begin
  424. { check type }
  425. ungettemp:=hp^.temptype;
  426. if hp^.temptype<>allowtype then
  427. begin
  428. exit;
  429. end;
  430. exprasmlist^.concat(new(paitempalloc,dealloc(hp^.pos,hp^.size)));
  431. { set this block to free }
  432. hp^.temptype:=tt_free;
  433. { Update tempfreelist }
  434. if assigned(hprevfree) then
  435. begin
  436. { Connect with previous? }
  437. if assigned(hprev) and (hprev^.temptype=tt_free) then
  438. begin
  439. inc(hprev^.size,hp^.size);
  440. hprev^.next:=hp^.next;
  441. dispose(hp);
  442. hp:=hprev;
  443. end
  444. else
  445. hprevfree^.nextfree:=hp;
  446. end
  447. else
  448. begin
  449. hp^.nextfree:=tempfreelist;
  450. tempfreelist:=hp;
  451. end;
  452. { Next block free ? Yes, then concat }
  453. hnext:=hp^.next;
  454. if assigned(hnext) and (hnext^.temptype=tt_free) then
  455. begin
  456. inc(hp^.size,hnext^.size);
  457. hp^.nextfree:=hnext^.nextfree;
  458. hp^.next:=hnext^.next;
  459. dispose(hnext);
  460. end;
  461. exit;
  462. end;
  463. if (hp^.temptype=tt_free) then
  464. hprevfree:=hp;
  465. hprev:=hp;
  466. hp:=hp^.next;
  467. end;
  468. ungettemp:=tt_none;
  469. end;
  470. procedure ttgobj.ungetpersistanttemp(pos : longint);
  471. begin
  472. {$ifdef EXTDEBUG}
  473. if ungettemp(pos,tt_persistant)<>tt_persistant then
  474. Comment(V_Warning,'temp managment problem : ungetpersistanttemp()'+
  475. ' at pos '+tostr(pos)+ ' not found !');
  476. {$else}
  477. ungettemp(pos,tt_persistant);
  478. {$endif}
  479. end;
  480. procedure ttgobj.ungetiftemp(const ref : treference);
  481. var
  482. tt : ttemptype;
  483. begin
  484. if istemp(ref) then
  485. begin
  486. { first check if ansistring }
  487. if ungetiftempansi(ref) then
  488. exit;
  489. tt:=ungettemp(ref.offset,tt_normal);
  490. {$ifdef EXTDEBUG}
  491. if tt=tt_persistant then
  492. Comment(V_Debug,'temp at pos '+tostr(ref.offset)+ ' not released because persistant!');
  493. if tt=tt_none then
  494. Comment(V_Warning,'temp not found for release at offset '+tostr(ref.offset));
  495. {$endif}
  496. end;
  497. end;
  498. function ttgobj.getregisterint : tregister;
  499. var
  500. i : tregister;
  501. begin
  502. if countusableregsint=0 then
  503. internalerror(10);
  504. for i:=firstreg to lastreg do
  505. begin
  506. if i in unusedregsint then
  507. begin
  508. exclude(unusedregsint,i);
  509. include(usedinproc,i);
  510. dec(countusableregsint);
  511. exprasmlist^.concat(new(pairegalloc,alloc(i)));
  512. exit;
  513. end;
  514. end;
  515. internalerror(28991);
  516. end;
  517. procedure ttgobj.ungetregisterint(r : tregister);
  518. begin
  519. { takes much time }
  520. if not(r in availabletempregsint) then
  521. exit;
  522. include(unusedregsint,r);
  523. inc(countusableregsint);
  524. exprasmlist^.concat(new(pairegalloc,dealloc(r)));
  525. end;
  526. { tries to allocate the passed register, if possible }
  527. function ttgobj.getexplicitregisterint(r : tregister) : tregister;
  528. begin
  529. if r in unusedregsint then
  530. begin
  531. dec(countusableregsint);
  532. exclude(unusedregsint,r);
  533. include(usedinproc,r);
  534. exprasmlist^.concat(new(pairegalloc,alloc(r)));
  535. getexplicitregisterint:=r;
  536. end
  537. else
  538. getexplicitregisterint:=getregisterint;
  539. end;
  540. procedure ttgobj.ungetregister(r : tregister);
  541. begin
  542. if r in intregs then
  543. ungetregisterint(r)
  544. {!!!!!!!!
  545. else if r in fpuregs then
  546. ungetregisterfpu(r)
  547. else if r in mmregs then
  548. ungetregistermm(r)
  549. }
  550. else internalerror(18);
  551. end;
  552. procedure ttgobj.cleartempgen;
  553. begin
  554. countusableregsint:=c_countusableregsint;
  555. countusableregsfpu:=c_countusableregsfpu;
  556. countusableregsmm:=c_countusableregsmm;
  557. unusedregsint:=availabletempregsint;
  558. {!!!!!!!!
  559. unusedregsfpu:=availabletempregsfpu;
  560. unusedregsmm:=availabletempregsmm;
  561. }
  562. end;
  563. procedure ttgobj.del_reference(const ref : treference);
  564. begin
  565. ungetregister(ref.base);
  566. end;
  567. procedure ttgobj.del_locref(const location : tlocation);
  568. begin
  569. if (location.loc<>LOC_MEM) and (location.loc<>LOC_REFERENCE) then
  570. exit;
  571. del_reference(location.reference);
  572. end;
  573. procedure ttgobj.del_location(const l : tlocation);
  574. begin
  575. case l.loc of
  576. LOC_REGISTER :
  577. ungetregister(l.register);
  578. LOC_MEM,LOC_REFERENCE :
  579. del_reference(l.reference);
  580. end;
  581. end;
  582. { pushs and restores registers }
  583. procedure ttgobj.pushusedregisters(var pushed : tpushed;b : byte);
  584. begin
  585. runerror(255);
  586. end;
  587. procedure ttgobj.popusedregisters(const pushed : tpushed);
  588. begin
  589. runerror(255);
  590. end;
  591. { saves and restores used registers to temp. values }
  592. procedure ttgobj.saveusedregisters(var saved : tsaved;b : byte);
  593. begin
  594. runerror(255);
  595. end;
  596. procedure ttgobj.restoreusedregisters(const saved : tsaved);
  597. begin
  598. runerror(255);
  599. end;
  600. procedure ttgobj.clearregistercount;
  601. begin
  602. runerror(255);
  603. end;
  604. procedure ttgobj.resetusableregisters;
  605. begin
  606. runerror(255);
  607. end;
  608. end.
  609. {
  610. $Log$
  611. Revision 1.1 2000-07-13 06:30:09 michael
  612. + Initial import
  613. Revision 1.10 2000/02/17 14:48:36 florian
  614. * updated to use old firstpass
  615. Revision 1.9 2000/01/07 01:14:55 peter
  616. * updated copyright to 2000
  617. Revision 1.8 1999/10/14 14:57:54 florian
  618. - removed the hcodegen use in the new cg, use cgbase instead
  619. Revision 1.7 1999/10/12 21:20:47 florian
  620. * new codegenerator compiles again
  621. Revision 1.6 1999/09/10 18:48:11 florian
  622. * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid)
  623. * most things for stored properties fixed
  624. Revision 1.5 1999/08/06 16:04:06 michael
  625. + introduced tainstruction
  626. Revision 1.4 1999/08/03 00:33:23 michael
  627. + Added cpuasm for alpha
  628. Revision 1.3 1999/08/03 00:32:13 florian
  629. * reg_vars and reg_pushes is now in tgobj
  630. Revision 1.2 1999/08/02 23:13:22 florian
  631. * more changes to compile for the Alpha
  632. Revision 1.1 1999/08/02 17:14:12 florian
  633. + changed the temp. generator to an object
  634. }