From c8ea9a0f1d8b83b4e8692f450df9da5de0714118 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 30 May 2002 20:28:56 +0200 Subject: [PATCH] gengenrtl.c (type_from_format, [...]): Support 'B'. * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'. * rtl.texi: Document 'B' From-SVN: r54062 --- gcc/ChangeLog | 5 +++++ gcc/doc/rtl.texi | 3 +++ gcc/gengenrtl.c | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c9b472..fbbe1f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu May 30 20:28:01 CEST 2002 Jan Hubicka + + * gengenrtl.c (type_from_format, accessor_from_format): Support 'B'. + * rtl.texi: Document 'B' + 2002-05-30 Jason Thorpe * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Compute diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index bf90a7b..abeba3c 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -243,6 +243,9 @@ core, @samp{V} is equivalent to @samp{E}, but when the object is read from an @samp{md} file, the vector value of this operand may be omitted. An omitted vector is effectively the same as a vector of no elements. +@item B +@samp{B} indicates a pointer to basic block strucure. + @item 0 @samp{0} means a slot whose contents do not fit any normal category. @samp{0} slots are not printed at all in dumps, and are often used in diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c index b90c9ee..07de217 100644 --- a/gcc/gengenrtl.c +++ b/gcc/gengenrtl.c @@ -81,6 +81,8 @@ type_from_format (c) return "struct bitmap_head_def *"; /* bitmap - typedef not available */ case 't': return "union tree_node *"; /* tree - typedef not available */ + case 'B': + return "struct basic_block_def *"; /* basic block - typedef not available */ default: abort (); } @@ -115,8 +117,8 @@ accessor_from_format (c) case 't': return "XTREE"; - default: - abort (); + case 'B': + return "XBBDEF"; } } -- 2.7.4