Browse Source

+ support aitconst_farptr in tai_const.size

git-svn-id: trunk@30455 -
nickysn 10 years ago
parent
commit
1c5d0ed09a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/aasmtai.pas

+ 2 - 0
compiler/aasmtai.pas

@@ -1882,6 +1882,8 @@ implementation
           aitconst_half16bit,
           aitconst_gs:
             result:=2;
+          aitconst_farptr:
+            result:=4;
           aitconst_got:
             result:=sizeof(pint);
           aitconst_gotoff_symbol: