diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-12-22 00:48:05 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-12-22 01:03:16 +0100 |
commit | 951a3d03869a4ae639abeee5547ae32d845a2d3e (patch) | |
tree | 71f3f47dc9458e6dfd998132963bf0e00e591e6c | |
parent | 514bd49b9378df256fa38acc394ba3c4acb29f39 (diff) | |
download | sparse-951a3d03869a4ae639abeee5547ae32d845a2d3e.tar.gz |
doc: fix list formatting
Sphinx gives a warning on if_convert_phi()'s autodoc because
of some 'unknown indentation' caused by using the wrong marker
('#' instead of '*' or '#.').
Use the right markup: '*'.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | simplify.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -179,10 +179,11 @@ static int if_convert_phi(struct instruction *insn) // @return: the unique result if the phi-node is trivial, NULL otherwise // // A phi-node is trivial if it has a single possible result: -// # all operands are the same -// # the operands are themselves defined by a chain or cycle of phi-nodes +// * all operands are the same +// * the operands are themselves defined by a chain or cycle of phi-nodes // and the set of all operands involved contains a single value // not defined by these phi-nodes +// // Since the result is unique, these phi-nodes can be removed. static pseudo_t trivial_phi(pseudo_t pseudo, struct instruction *insn, struct pseudo_list **list) { |