| 2876 | } |
| 2877 | |
| 2878 | int Value::compare(const Value &other) const { |
| 2879 | if (*this < other) |
| 2880 | return -1; |
| 2881 | if (*this > other) |
| 2882 | return 1; |
| 2883 | return 0; |
| 2884 | } |
| 2885 | |
| 2886 | bool Value::operator<(const Value &other) const { |
| 2887 | int typeDelta = type() - other.type(); |
no outgoing calls