aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.c
diff options
authorPavel Roskin <proski@gnu.org>2006-11-03 17:17:17 -0500
committerJosh Triplett <josh@freedesktop.org>2006-11-06 03:59:37 -0800
commit1b3d7607212ce7b9f2451d309fddf032bb4241f0 (patch)
treeed959c218bdffb34e8aa03c908a73726fb495d60 /example.c
parent93a2093dc9b6eab327500eab83e2b9dd840ccd25 (diff)
downloadsparse-dev-1b3d7607212ce7b9f2451d309fddf032bb4241f0.tar.gz
Typo fixes
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'example.c')
-rw-r--r--example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.c b/example.c
index 7e30c226..7c2bae39 100644
--- a/example.c
+++ b/example.c
@@ -942,7 +942,7 @@ static void generate_commutative_binop(struct bb_state *state, struct instructio
if (!is_dead_reg(state, src1, reg1))
goto do_switch;
- /* Both are dead. Is one preferrable? */
+ /* Both are dead. Is one preferable? */
if (reg2 != preferred_reg(state, insn->target))
goto dont_switch;
@@ -1493,7 +1493,7 @@ static void write_reg_to_storage(struct bb_state *state, struct hardreg *reg, ps
/* Fall back on stack allocation ... */
alloc_stack(state, storage);
- /* Fallthroigh */
+ /* Fallthrough */
default:
output_insn(state, "movl %s,%s", reg->name, show_memop(storage));
return;