gimple.h (struct gimple_statement_base): Document the restrictions on its use.
* gimple.h (struct gimple_statement_base)<uid>: Document the restrictions on its use. (gimple_uid): Tidy. (gimple_set_uid): Tidy. From-SVN: r143233
This commit is contained in:
parent
c9da2ae8ab
commit
e0e10d3a28
@ -1,3 +1,10 @@
|
|||||||
|
2009-01-09 Diego Novillo <dnovillo@google.com>
|
||||||
|
|
||||||
|
* gimple.h (struct gimple_statement_base)<uid>: Document
|
||||||
|
the restrictions on its use.
|
||||||
|
(gimple_uid): Tidy.
|
||||||
|
(gimple_set_uid): Tidy.
|
||||||
|
|
||||||
2009-01-09 Jakub Jelinek <jakub@redhat.com>
|
2009-01-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
|
* config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
|
||||||
|
@ -297,7 +297,9 @@ struct gimple_statement_base GTY(())
|
|||||||
in there. */
|
in there. */
|
||||||
unsigned int subcode : 16;
|
unsigned int subcode : 16;
|
||||||
|
|
||||||
/* UID of this statement. */
|
/* UID of this statement. This is used by passes that want to
|
||||||
|
assign IDs to statements. It must be assigned and used by each
|
||||||
|
pass. By default it should be assumed to contain garbage. */
|
||||||
unsigned uid;
|
unsigned uid;
|
||||||
|
|
||||||
/* [ WORD 2 ]
|
/* [ WORD 2 ]
|
||||||
@ -1204,7 +1206,7 @@ gimple_plf (gimple stmt, enum plf_mask plf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Set the uid of statement */
|
/* Set the UID of statement. */
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
gimple_set_uid (gimple g, unsigned uid)
|
gimple_set_uid (gimple g, unsigned uid)
|
||||||
@ -1213,7 +1215,7 @@ gimple_set_uid (gimple g, unsigned uid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Return the uid of statement */
|
/* Return the UID of statement. */
|
||||||
|
|
||||||
static inline unsigned
|
static inline unsigned
|
||||||
gimple_uid (const_gimple g)
|
gimple_uid (const_gimple g)
|
||||||
|
Loading…
Reference in New Issue
Block a user