浏览代码

* use voidcodepointertype in traisenode.pass_typecheck to avoid ifdef i8086

git-svn-id: trunk@27537 -
nickysn 11 年之前
父节点
当前提交
be08957a96
共有 1 个文件被更改,包括 1 次插入8 次删除
  1. 1 8
      compiler/nflw.pas

+ 1 - 8
compiler/nflw.pas

@@ -1966,14 +1966,7 @@ implementation
                begin
                  { addr }
                  typecheckpass(right);
-{$ifdef i8086}
-                 if current_settings.x86memorymodel in x86_far_code_models then
-                   inserttypeconv(right,voidfarpointertype)
-                 else
-                   inserttypeconv(right,voidnearpointertype);
-{$else i8086}
-                 inserttypeconv(right,voidpointertype);
-{$endif i8086}
+                 inserttypeconv(right,voidcodepointertype);
                  { frame }
                  if assigned(third) then
                   begin