Commit d77f014
committed
Improve implementation of EEOP_BOOLTEST_* opcodes.
Both Andres and I were happy with "*op->resvalue = *op->resvalue;",
but Coverity isn't; and it has a point, because some compilers might
not be smart enough to elide that. So remove it. In passing, also
avoid doing unnecessary assignments to *op->resnull when it's already
known to have the right value.1 parent e259e1f commit d77f014
1 file changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| 961 | + | |
961 | 962 | | |
962 | | - | |
963 | | - | |
964 | | - | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
968 | 969 | | |
969 | 970 | | |
970 | 971 | | |
971 | 972 | | |
| 973 | + | |
972 | 974 | | |
| 975 | + | |
| 976 | + | |
973 | 977 | | |
974 | 978 | | |
975 | | - | |
976 | 979 | | |
977 | 980 | | |
978 | 981 | | |
979 | 982 | | |
980 | 983 | | |
981 | 984 | | |
982 | 985 | | |
| 986 | + | |
983 | 987 | | |
| 988 | + | |
| 989 | + | |
984 | 990 | | |
985 | 991 | | |
986 | | - | |
987 | 992 | | |
988 | 993 | | |
989 | 994 | | |
990 | 995 | | |
991 | 996 | | |
992 | 997 | | |
993 | 998 | | |
| 999 | + | |
994 | 1000 | | |
995 | | - | |
996 | | - | |
997 | | - | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
998 | 1004 | | |
999 | 1005 | | |
1000 | 1006 | | |
| |||
0 commit comments