[PATCH] fix linear_isdigit()'s itype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 linearize.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/linearize.c b/linearize.c
index c1e3455adb67..d3c009b36d22 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;
-- 
2.29.2




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux