diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-03-23 06:39:59 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-03-23 06:39:59 -0500 |
commit | cdece1efd184a99037324ebc23f5294b9a2e8168 (patch) | |
tree | 563917927556de7bf3a1bfa05ac9d282c73ab7b1 | |
parent | 1ef1ca81c3e3725828eab62bd15b2d8f866d5215 (diff) | |
download | gcc-cdece1efd184a99037324ebc23f5294b9a2e8168.zip gcc-cdece1efd184a99037324ebc23f5294b9a2e8168.tar.gz gcc-cdece1efd184a99037324ebc23f5294b9a2e8168.tar.bz2 |
(dbxout_type): Use int_size_in_bytes instead of size_in_bytes for
consistency with other code.
From-SVN: r3834
-rw-r--r-- | gcc/dbxout.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 506701a..27b996e 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1012,7 +1012,7 @@ dbxout_type (type, full, show_arg_types) /* This used to say `r1' and we used to take care to make sure that `int' was type number 1. */ fprintf (asmfile, "r%d;%d;0;", TYPE_SYMTAB_ADDRESS (integer_type_node), - TREE_INT_CST_LOW (size_in_bytes (type))); + int_size_in_bytes (type)); CHARS (16); break; @@ -1042,14 +1042,14 @@ dbxout_type (type, full, show_arg_types) { fprintf (asmfile, "r%d;%d;0;", TYPE_SYMTAB_ADDRESS (type), - TREE_INT_CST_LOW (size_in_bytes (TREE_TYPE (type)))); + int_size_in_bytes (TREE_TYPE (type))); CHARS (15); /* The number is probably incorrect here. */ } else { /* Output a complex integer type as a structure, pending some other way to do it. */ - fprintf (asmfile, "s%d", TREE_INT_CST_LOW (size_in_bytes (type))); + fprintf (asmfile, "s%d", int_size_in_bytes (type)); fprintf (asmfile, "real:"); CHARS (10); @@ -1135,11 +1135,10 @@ dbxout_type (type, full, show_arg_types) typevec[TYPE_SYMTAB_ADDRESS (type)] = TYPE_XREF; break; } - tem = size_in_bytes (type); /* Identify record or union, and print its size. */ fprintf (asmfile, (TREE_CODE (type) == RECORD_TYPE) ? "s%d" : "u%d", - TREE_INT_CST_LOW (tem)); + int_size_in_bytes (type)); if (use_gnu_debug_info_extensions) { |