summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/utils/libcxx/sym_check/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/libcxx/sym_check/diff.py b/libcxx/utils/libcxx/sym_check/diff.py
index 55443bd6fd5..0821ef6f780 100644
--- a/libcxx/utils/libcxx/sym_check/diff.py
+++ b/libcxx/utils/libcxx/sym_check/diff.py
@@ -43,7 +43,7 @@ def changed_symbols(old, new):
continue
new_sym = _find_by_key(new, old_sym['name'])
if (new_sym is not None and not new_sym in old
- and cmp(old_sym, new_sym) != 0):
+ and old_sym != new_sym):
changed += [(old_sym, new_sym)]
return changed
OpenPOWER on IntegriCloud