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:
Tom Tromey
2022-07-25 14:06:33 -03:00
committed by Bruno Larsen
parent f91822c2b9
commit a0cbd6505e
17 changed files with 65 additions and 79 deletions

View File

@ -229,7 +229,7 @@ default_frame_unwind_stop_reason (struct frame_info *this_frame,
{
struct frame_id this_id = get_frame_id (this_frame);
if (frame_id_eq (this_id, outer_frame_id))
if (this_id == outer_frame_id)
return UNWIND_OUTERMOST;
else
return UNWIND_NO_REASON;