瀏覽代碼

* Added missing override directive in trgcpu.add_constraints method for x86_64 CPU. It was missing for years and I am not sure that this code is really needed. Please review.

git-svn-id: trunk@13141 -
yury 16 年之前
父節點
當前提交
c6253d5bd7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/x86_64/rgcpu.pas

+ 1 - 1
compiler/x86_64/rgcpu.pas

@@ -32,7 +32,7 @@ unit rgcpu;
 
 
      type
      type
        trgcpu = class(trgx86)
        trgcpu = class(trgx86)
-         procedure add_constraints(reg:Tregister);
+         procedure add_constraints(reg:Tregister); override;
        end;
        end;
 
 
   implementation
   implementation