Changeset 46 for trunk/Compiler
- Timestamp:
- Mar 4, 2012, 10:35:47 AM (13 years ago)
- Location:
- trunk/Compiler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Target/Interpretter/UTargetInterpretter.pas
r41 r46 6 6 7 7 uses 8 Classes, SysUtils, UTarget ;8 Classes, SysUtils, UTarget, UExecutor; 9 9 10 10 type … … 14 14 TTargetInterpretter = class(TTarget) 15 15 constructor Create; override; 16 end; 17 18 TExecutorInterpretter = class(TExecutor) 19 16 20 end; 17 21 … … 25 29 SysName := 'Interpretter'; 26 30 Name := 'Interpretter'; 31 Executor := TExecutorInterpretter.Create; 27 32 end; 28 33 -
trunk/Compiler/UCompiler.pas
r44 r46 82 82 destructor TCompiler.Destroy; 83 83 begin 84 Analyzer.Free; 84 85 AbstractCode.Free; 85 86 Targets.Free; -
trunk/Compiler/UTarget.pas
r41 r46 19 19 Executor: TExecutor; 20 20 constructor Create; virtual; 21 destructor Destroy; override; 21 22 end; 22 23 … … 37 38 end; 38 39 40 destructor TTarget.Destroy; 41 begin 42 Producer.Free; 43 Executor.Free; 44 inherited Destroy; 45 end; 46 39 47 { TListTarget } 40 48
Note:
See TracChangeset
for help on using the changeset viewer.