diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-08 03:08:39 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-11-09 23:48:14 +0100 |
commit | 94dbf5cc3a0789876c8c5acd937fca6c7f89900d (patch) | |
tree | d2c9def9b620dd3e16f6055b140dd15d58d13685 | |
parent | f680124b794b246c8a20f2cb54b2fc7ff989625d (diff) | |
download | sparse-94dbf5cc3a0789876c8c5acd937fca6c7f89900d.tar.gz |
fix linear_isdigit()'s itype
The merge of the branch with the linear_isdigit() experiment
and the branch giving a type to OP_SETxx's arguments created
a semantic conflict: the compare used for the isidigt() builtin
needed the type too.
Fix this now.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | linearize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linearize.c b/linearize.c index c1e3455a..d3c009b3 100644 --- a/linearize.c +++ b/linearize.c @@ -2617,6 +2617,7 @@ static pseudo_t linearize_isdigit(struct entrypoint *ep, struct expression *expr use_pseudo(insn, src, &insn->src1); insn->src2 = value_pseudo(9); insn->target = alloc_pseudo(insn); + insn->itype = &int_ctype; add_one_insn(ep, insn); return insn->target; |