class.c (layout_class): Always convert TYPE_SIZE_UNIT to int_type_node...

Wed Nov 17 21:09:28 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* class.c (layout_class): Always convert TYPE_SIZE_UNIT to
 	int_type_node: that's what `_Jv_AllocObject' expects.

From-SVN: r30581
This commit is contained in:
Alexandre Petit-Bianco 1999-11-19 01:43:21 +00:00 committed by Alexandre Petit-Bianco
parent 9c5c5c8a31
commit 4832340ccc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 17 21:09:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Always convert TYPE_SIZE_UNIT to
int_type_node: that's what `_Jv_AllocObject' expects.
1999-11-09 Tom Tromey <tromey@cygnus.com>
* jcf-path.c: Include <sys/stat.h>.

View File

@ -1519,6 +1519,10 @@ layout_class (this_class)
}
layout_type (this_class);
/* Convert the size back to an SI integer value */
TYPE_SIZE_UNIT (this_class) =
fold (convert (int_type_node, TYPE_SIZE_UNIT (this_class)));
}
void