Browse Source

* enabled null pointer load checking for AIX/ppc64

git-svn-id: trunk@21051 -
Jonas Maebe 13 years ago
parent
commit
b33b744f78
1 changed files with 2 additions and 0 deletions
  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}