Browse Source

* call fpc_iocheck via hlcg.g_call_system_proc()

git-svn-id: branches/hlcgllvm@28204 -
Jonas Maebe 11 years ago
parent
commit
d8394fc89c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      compiler/ncgcal.pas

+ 1 - 3
compiler/ncgcal.pas

@@ -1176,9 +1176,7 @@ implementation
             (right=nil) and
             not(po_virtualmethod in procdefinition.procoptions) then
            begin
-              cg.allocallcpuregisters(current_asmdata.CurrAsmList);
-              cg.a_call_name(current_asmdata.CurrAsmList,'FPC_IOCHECK',false);
-              cg.deallocallcpuregisters(current_asmdata.CurrAsmList);
+              hlcg.g_call_system_proc(current_asmdata.CurrAsmList,'fpc_iocheck',[],nil).resetiftemp;
            end;
       end;