Changeset 80 for trunk/UBFTarget.pas
- Timestamp:
- Jan 1, 2017, 11:34:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UBFTarget.pas
r78 r80 110 110 // Replace old program by new program 111 111 SetLength(FProgram, Length(NewProgram)); 112 Move( NewProgram[0], FProgram[0], SizeOf(TMachineOperation) * Length(NewProgram));112 Move(Pointer(NewProgram)^, Pointer(FProgram)^, SizeOf(TMachineOperation) * Length(NewProgram)); 113 113 end; 114 114 … … 251 251 // Replace old program by new program 252 252 SetLength(FProgram, Length(NewProgram)); 253 Move( NewProgram[0], FProgram[0], SizeOf(TMachineOperation) * Length(NewProgram));253 Move(Pointer(NewProgram)^, Pointer(FProgram)^, SizeOf(TMachineOperation) * Length(NewProgram)); 254 254 end; 255 255
Note:
See TracChangeset
for help on using the changeset viewer.