Browse Source

* TExceptAddr.frametype changed to SmallInt on 16-bit CPUs, since the compiler allocates 3*sizeof(pint) for the whole structure (and using longints on 16-bit CPUs is wasteful anyway)

git-svn-id: branches/i8086@24035 -
nickysn 12 years ago
parent
commit
252903175c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/inc/except.inc

+ 4 - 0
rtl/inc/except.inc

@@ -30,7 +30,11 @@ Type
   TExceptAddr = record
     buf       : pjmp_buf;
     next      : PExceptAddr;
+{$ifdef CPU16}
+    frametype : Smallint;
+{$else CPU16}
     frametype : Longint;
+{$endif CPU16}
   end;
 
 Const