(init_module_descriptor):

Use size_in_bytes to get size of `struct objc_module'.

From-SVN: r3168
This commit is contained in:
Richard Stallman 1993-01-09 09:14:53 +00:00
parent 58811315a1
commit c55dc79a59
1 changed files with 1 additions and 2 deletions

View File

@ -812,8 +812,7 @@ init_module_descriptor ()
/* size = { ..., sizeof (struct objc_module), ... } */
expr = build_int_2 (TREE_INT_CST_LOW (TYPE_SIZE (objc_module_template)) /
BITS_PER_UNIT, 0);
expr = size_in_bytes (objc_module_template);
initlist = tree_cons (NULLT, expr, initlist);
/* name = { ..., "foo.m", ... } */