Browse Source

* result of prefetch is voidtype, not voidpointertype (fixes mantis #11275)

git-svn-id: trunk@10913 -
Jonas Maebe 17 years ago
parent
commit
7657cd7b6c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/ninl.pas

+ 2 - 1
compiler/ninl.pas

@@ -2429,7 +2429,8 @@ implementation
                   if (cs_do_assertion in current_settings.localswitches) then
                     include(current_procinfo.flags,pi_do_call);
                 end;
-              in_prefetch_var,
+              in_prefetch_var:
+                resultdef:=voidtype;
               in_get_frame,
               in_get_caller_frame,
               in_get_caller_addr: