Ignore:
Timestamp:
Jan 17, 2018, 1:11:56 PM (6 years ago)
Author:
chronos
Message:
  • Added: Check memory leaks in debug build mode.
  • Fixed: Various memory leaks.
Location:
branches/easy compiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/easy compiler

    • Property svn:ignore
      •  

        old new  
        22*.exe
        33*.lps
         4heaptrclog.trc
  • branches/easy compiler/UCompiler.pas

    r142 r145  
    262262          for Param in Funct.Parameters do
    263263          if Param.Kind = pkString then begin
    264             TSourceFunctionCall(Instruction).AddParameter(ParseReference)
     264            TSourceFunctionCall(Instruction).Parameters.Add(ParseReference)
    265265          end else
    266266          if Param.Kind = pkVariable then begin
    267             TSourceFunctionCall(Instruction).AddParameter(ParseReferenceVariable(True));
     267            TSourceFunctionCall(Instruction).Parameters.Add(ParseReferenceVariable(True));
    268268          end else
    269269          raise Exception.Create('Unsupported parameter type.');
Note: See TracChangeset for help on using the changeset viewer.