mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Remove frame_id_eq
This replaces frame_id_eq with operator== and operator!=. I wrote this for a version of this series that I later abandoned; but since it simplifies the code, I left this patch in. Approved-by: Tom Tomey <tom@tromey.com>
This commit is contained in:
@ -701,7 +701,7 @@ frapy_richcompare (PyObject *self, PyObject *other, int op)
|
||||
frame_object *other_frame = (frame_object *) other;
|
||||
|
||||
if (self_frame->frame_id_is_next == other_frame->frame_id_is_next
|
||||
&& frame_id_eq (self_frame->frame_id, other_frame->frame_id))
|
||||
&& self_frame->frame_id == other_frame->frame_id)
|
||||
result = Py_EQ;
|
||||
else
|
||||
result = Py_NE;
|
||||
|
Reference in New Issue
Block a user