Explorar o código

* 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 %!s(int64=12) %!d(string=hai) anos
pai
achega
252903175c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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