Browse Source

Minor

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7192 8c9fc860-2736-0410-a75d-ab315db34111
felixf 8 years ago
parent
commit
8738a9d6c1
2 changed files with 3 additions and 3 deletions
  1. 2 2
      source/Generic.Modules.Mod
  2. 1 1
      source/Win32.Machine.Mod

+ 2 - 2
source/Generic.Modules.Mod

@@ -61,8 +61,8 @@ TYPE
 	(* all implicit or explicit pointers in the subsequent data structures are protected with one pointer array
 	*)
 
-	TypeDesc* = POINTER TO RECORD 
-		descSize-: LONGINT;
+	TypeDesc* = POINTER  TO RECORD 
+		descSize-: SIZE;
 		sentinel-: LONGINT;	(* = MPO-4 *)
 		tag-: ADDRESS; (* pointer to static type descriptor, only used by linker and loader *)
 		flags-: SET;

+ 1 - 1
source/Win32.Machine.Mod

@@ -44,7 +44,7 @@ CONST
 	EndBlockOfs = 38H;	(* cf. Linker0 *)
 	MemoryBlockOfs = BlockHeaderSize + RecordDescSize + BlockHeaderSize; (* memory block (including header) starts at offset HeaderSize *)
 
-	MemBlockSize = 4*1024*1024; (* must be multiple of StaticBlockSize *)
+	MemBlockSize = 32*1024*1024; (* must be multiple of StaticBlockSize *)
 	MinMemBlockSize = 4*1024*1024;
 
 	NilVal = 0;