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:
parent
9c5c5c8a31
commit
4832340ccc
@ -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>.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user