diff options
| author | Jeff Garzik <jeff@garzik.org> | 2011-08-27 13:48:48 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2011-08-27 13:48:48 -0400 |
| commit | 55c82c3b2408df37241cfdfbcd00447f85448af5 (patch) | |
| tree | 98cd98e093b10c9d076a8084fc8519fc2b7eafa6 /sparse-llvm.c | |
| parent | b28a446882071e6f86b20b91b72bacb8047af148 (diff) | |
| download | sparse-dev-55c82c3b2408df37241cfdfbcd00447f85448af5.tar.gz | |
sparse, llvm: replace FIXME comment with assert(), following existing style
Diffstat (limited to 'sparse-llvm.c')
| -rw-r--r-- | sparse-llvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sparse-llvm.c b/sparse-llvm.c index 97c478f1..0d7a4e5a 100644 --- a/sparse-llvm.c +++ b/sparse-llvm.c @@ -346,7 +346,7 @@ static void output_op_switch(struct function *fn, struct instruction *insn) if (jmp->begin == jmp->end) { /* case N */ n_jmp++; } else if (jmp->begin < jmp->end) { /* case M..N */ - /* FIXME */ + assert(0); } else /* default case */ def = jmp->target; } END_FOR_EACH_PTR(jmp); @@ -361,7 +361,7 @@ static void output_op_switch(struct function *fn, struct instruction *insn) LLVMConstInt(LLVMInt32Type(), jmp->begin, 0), jmp->target->priv); } else if (jmp->begin < jmp->end) { /* case M..N */ - /* FIXME */ + assert(0); } } END_FOR_EACH_PTR(jmp); |
