X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Fconstprop.h;h=9f9ecc3c294f1bbb9b4ebbe384eabcb16ada12bd;hb=f99193c2c2ec0ab56636773949fae34d847d91b0;hp=cebf0b386893ef8e7eee3b7a42586a7b5d4681ae;hpb=9259d7486618d69721fee743c3e4d0b5c83805fe;p=pcsx_rearmed.git diff --git a/deps/lightrec/constprop.h b/deps/lightrec/constprop.h index cebf0b38..9f9ecc3c 100644 --- a/deps/lightrec/constprop.h +++ b/deps/lightrec/constprop.h @@ -10,7 +10,7 @@ #define LIGHTREC_CONSTPROP_INITIALIZER { { 0, 0xffffffff, 0 }, } -struct opcode; +struct block; struct constprop_data { u32 value; @@ -34,7 +34,7 @@ static inline _Bool is_known_zero(const struct constprop_data *v, u8 reg) return bits_are_known_zero(v, reg, 0xffffffff); } -void lightrec_consts_propagate(const struct opcode *list, +void lightrec_consts_propagate(const struct block *block, unsigned int idx, struct constprop_data *v);