X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=scripts%2Fgen_calc_bool.php;h=1b5b3393a468a6d1a5e9efe1a881ba70ed16b33e;hp=1aaad0892fe37ca575afe60287339f1ad48f670d;hb=c9384515a81cb64d345b299908b2852f51bb8e6e;hpb=b029005e56a8913fbb3d17ab497b4a37a00a211c diff --git a/scripts/gen_calc_bool.php b/scripts/gen_calc_bool.php index 1aaad08..1b5b339 100644 --- a/scripts/gen_calc_bool.php +++ b/scripts/gen_calc_bool.php @@ -2,35 +2,6 @@ include __DIR__."/_include.php"; ?> - -static inline token_t psi_calc_bool_not(token_t t1, impl_val *v1, token_t t2, impl_val *v2, impl_val *res) -{ - (void) t2; - (void) v2; - - switch (t1) { - $v1) : ?> - - -#if HAVE_ - - - case PSI_T_: - res->u8 = !v1->; - break; - - -#endif - - - - default: - assert(0); - break; - } - return PSI_T_UINT8; -} - static inline token_t psi_calc_bool_or(token_t t1, impl_val *v1, token_t t2, impl_val *v2, impl_val *res) { switch (t1) {