| 2918 | } |
| 2919 | |
| 2920 | int Value::compare(const Value& other) const { |
| 2921 | if (*this < other) |
| 2922 | return -1; |
| 2923 | if (*this > other) |
| 2924 | return 1; |
| 2925 | return 0; |
| 2926 | } |
| 2927 | |
| 2928 | bool Value::operator<(const Value& other) const { |
| 2929 | int typeDelta = type() - other.type(); |
no outgoing calls