diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-25 09:58:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:48 -0700 |
commit | 0cde10b1951b7175edab953b3325f8c0c990eea1 (patch) | |
tree | 79cbd1cf59842bb8a753c392738911a7ccd9dc1f /cse.c | |
parent | Validity-check the pseudo 'use' list. (diff) | |
download | sparse-0cde10b1951b7175edab953b3325f8c0c990eea1.tar.gz sparse-0cde10b1951b7175edab953b3325f8c0c990eea1.tar.bz2 sparse-0cde10b1951b7175edab953b3325f8c0c990eea1.zip |
Another assert - verify bb validity.
Diffstat (limited to 'cse.c')
-rw-r--r-- | cse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,6 +10,7 @@ #include <stdlib.h> #include <stdio.h> #include <stddef.h> +#include <assert.h> #include "parse.h" #include "expression.h" @@ -223,8 +224,7 @@ static void clean_up_one_instruction(struct basic_block *bb, struct instruction if (!insn->bb) return; - if (insn->bb != bb) - warning(bb->pos, "instruction with bad bb"); + assert(insn->bb == bb); hash = insn->opcode; switch (insn->opcode) { |