From 22a9d90ba60f1d8142c3975dff521929bdf05ce8 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 12 Jun 2023 12:44:00 +0200 Subject: something with phi --- amd64/isel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amd64/isel.c') diff --git a/amd64/isel.c b/amd64/isel.c index e6cc692..8ab11a7 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -6,7 +6,7 @@ static void fixarg(struct function *fn, union ref *r, struct instr *ins, struct block *blk, int *curi) { int sh; - enum op op = ins->op; + enum op op = ins ? ins->op : 0; if (r->t == RXCON) { struct xcon *con = &conht[r->i]; -- cgit v1.2.3