aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-21 11:57:05 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-21 22:16:01 +0200
commit16b2b6eb6c83685afaa8d447d7837080b901b3d9 (patch)
treed181fc8bc87be20a3cf68b48dbd424bc9986cd81
parent31996b8c7ff1dad6da5c56e16de7097f3a87c474 (diff)
downloadsparse-dev-16b2b6eb6c83685afaa8d447d7837080b901b3d9.tar.gz
doc: reword doc for replace_pseudo()
The function replace_pseudo() was documented but it wasn't very clear. Replce the short description by something hopefull clearer. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--simplify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplify.c b/simplify.c
index 5708a431..e177baf3 100644
--- a/simplify.c
+++ b/simplify.c
@@ -344,7 +344,7 @@ static inline int constant(pseudo_t pseudo)
}
///
-// replace one operand by a new value
+// replace the operand of an instruction
// @insn: the instruction
// @pp: the address of the instruction's operand
// @new: the new value for the operand