Changeset 68 for trunk/Compiler/Target/GCC/UProducerGCC.pas
- Timestamp:
- Jul 30, 2012, 3:52:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Target/GCC/UProducerGCC.pas
r44 r68 20 20 procedure EmitLn(AText: string = ''); 21 21 procedure GenerateUses(UsedModules: TUsedModuleList); 22 procedure GenerateModule(Module: T Module);22 procedure GenerateModule(Module: TSourceModule); 23 23 procedure GenerateCommonBlock(CommonBlock: TCommonBlock; 24 24 LabelPrefix: string); … … 43 43 Indetation: Integer; 44 44 procedure AssignToStringList(Target: TStringList); override; 45 procedure Produce(Module: T Module); override;45 procedure Produce(Module: TSourceModule); override; 46 46 constructor Create; 47 47 destructor Destroy; override; … … 122 122 end; 123 123 124 procedure TProducerGCCC.GenerateModule(Module: T Module);124 procedure TProducerGCCC.GenerateModule(Module: TSourceModule); 125 125 begin 126 126 Module.TargetFile := Module.Name + '.c'; … … 138 138 end; 139 139 140 procedure TProducerGCCC.Produce(Module: T Module);140 procedure TProducerGCCC.Produce(Module: TSourceModule); 141 141 begin 142 142 inherited; … … 152 152 with ProgramBlock do 153 153 for I := 0 to Modules.Count - 1 do 154 GenerateModule(T Module(Modules[I]));154 GenerateModule(TSourceModule(Modules[I])); 155 155 end; 156 156
Note:
See TracChangeset
for help on using the changeset viewer.