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=09529efcde471127419e141807b83b37077003a0;hpb=52ed5940ed0ab3cafd36fbded2e83c92563e7b2b 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) {