]> gcc.gnu.org Git - gcc.git/commitdiff
(init_module_descriptor):
authorRichard Stallman <rms@gnu.org>
Sat, 9 Jan 1993 09:14:53 +0000 (09:14 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 9 Jan 1993 09:14:53 +0000 (09:14 +0000)
Use size_in_bytes to get size of `struct objc_module'.

From-SVN: r3168

gcc/objc/objc-act.c

index edfc0b04a74d81d2ec32d11a48db14d25da4900c..6b3b07406d3d328261c1be8f876a040db6b18c7e 100644 (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", ... } */
This page took 0.06326 seconds and 5 git commands to generate.