瀏覽代碼

* 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;
        SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,
                          exOverflow, exUnderflow, exPrecision]);
+
+       starttime:=getrealtime;
+
        { Initialize the compiler }
        InitCompiler(cmd);
 
@@ -236,8 +239,6 @@ begin
        WritePathList(general_t_librarypath,librarysearchpath);
        WritePathList(general_t_objectpath,objectsearchpath);
 
-       starttime:=getrealtime;
-
        { Compile the program }
   {$ifdef PREPROCWRITE}
        if parapreprocess then