소스 검색

* set starttime earlier so time stamps don't get messed up

git-svn-id: trunk@6228 -
florian 18 년 전
부모
커밋
7b39b54951
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      compiler/compiler.pas

+ 3 - 2
compiler/compiler.pas

@@ -223,6 +223,9 @@ begin
        ExceptionMask:=GetExceptionMask;
        ExceptionMask:=GetExceptionMask;
        SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,
        SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,
                          exOverflow, exUnderflow, exPrecision]);
                          exOverflow, exUnderflow, exPrecision]);
+
+       starttime:=getrealtime;
+
        { Initialize the compiler }
        { Initialize the compiler }
        InitCompiler(cmd);
        InitCompiler(cmd);
 
 
@@ -236,8 +239,6 @@ begin
        WritePathList(general_t_librarypath,librarysearchpath);
        WritePathList(general_t_librarypath,librarysearchpath);
        WritePathList(general_t_objectpath,objectsearchpath);
        WritePathList(general_t_objectpath,objectsearchpath);
 
 
-       starttime:=getrealtime;
-
        { Compile the program }
        { Compile the program }
   {$ifdef PREPROCWRITE}
   {$ifdef PREPROCWRITE}
        if parapreprocess then
        if parapreprocess then