| 176 | } |
| 177 | |
| 178 | bool |
| 179 | ObjectInstPath::operator== (const ObjectInstPath &d) const |
| 180 | { |
| 181 | if (is_cell_inst () != d.is_cell_inst ()) { |
| 182 | return false; |
| 183 | } |
| 184 | if (! is_cell_inst ()) { |
| 185 | if (m_layer != d.m_layer) { |
| 186 | return false; |
| 187 | } |
| 188 | if (m_shape != d.m_shape) { |
| 189 | return false; |
| 190 | } |
| 191 | } |
| 192 | if (m_cv_index != d.m_cv_index) { |
| 193 | return false; |
| 194 | } |
| 195 | if (m_topcell != d.m_topcell) { |
| 196 | return false; |
| 197 | } |
| 198 | return m_path == d.m_path; |
| 199 | } |
| 200 | |
| 201 | } |
| 202 |
nothing calls this directly
no test coverage detected