| 62 | } |
| 63 | |
| 64 | inline bool StringValue::Eq(const StringValue& other) const { |
| 65 | SimpleString this_s = ToSimpleString(); |
| 66 | SimpleString other_s = other.ToSimpleString(); |
| 67 | if (this_s.len != other_s.len) return false; |
| 68 | return StringCompare(this_s.ptr, this_s.len, other_s.ptr, other_s.len, this_s.len) == 0; |
| 69 | } |
| 70 | |
| 71 | inline bool StringValue::operator==(const StringValue& other) const { |
| 72 | return Eq(other); |
nothing calls this directly
no test coverage detected