浏览代码

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

git-svn-id: trunk@10913 -
Jonas Maebe 17 年之前
父节点
当前提交
7657cd7b6c
共有 1 个文件被更改,包括 2 次插入1 次删除
  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: