aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-03-09 15:22:17 -0800
committerJosh Triplett <josh@freedesktop.org>2007-03-09 15:32:55 -0800
commitcef10da343e842f6b55f5a26d55aaec5b55bd184 (patch)
tree2a55ea9107c0cd8034a55684961a9bf455fe31a4 /simplify.c
parentIntroduce keyword driven attribute parsing (diff)
downloadsparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.gz
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.tar.bz2
sparse-cef10da343e842f6b55f5a26d55aaec5b55bd184.zip
Fix typos in comments
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'simplify.c')
-rw-r--r--simplify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/simplify.c b/simplify.c
index 26a72f4..3adcef1 100644
--- a/simplify.c
+++ b/simplify.c
@@ -92,7 +92,7 @@ static int if_convert_phi(struct instruction *insn)
}
/*
- * Ok, we can now replace that last
+ * OK, we can now replace that last
*
* br cond, a, b
*
@@ -267,7 +267,7 @@ static int simplify_constant_rightside(struct instruction *insn)
insn->src2 = value_pseudo(-value);
return REPEAT_CSE;
}
- /* Fallthrough */
+ /* Fall through */
case OP_ADD:
case OP_OR: case OP_XOR:
case OP_OR_BOOL:
@@ -281,7 +281,7 @@ static int simplify_constant_rightside(struct instruction *insn)
case OP_AND_BOOL:
if (value == 1)
return replace_with_pseudo(insn, insn->src1);
- /* Fallthrough */
+ /* Fall through */
case OP_AND:
if (!value)
return replace_with_pseudo(insn, insn->src2);