Explorar o código

* enabled null pointer load checking for AIX/ppc64

git-svn-id: trunk@21051 -
Jonas Maebe %!s(int64=13) %!d(string=hai) anos
pai
achega
b33b744f78
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      compiler/powerpc64/cgcpu.pas

+ 2 - 0
compiler/powerpc64/cgcpu.pas

@@ -594,6 +594,8 @@ var
   ref2: treference;
   tmpreg: tregister;
 begin
+  if target_info.system=system_powerpc64_aix then
+    g_load_check_simple(list,ref,65536);
   {$IFDEF EXTDEBUG}
   list.concat(tai_comment.create(strpnew('a_load_ref_reg ' + ref2string(ref))));
   {$ENDIF EXTDEBUG}