Skip to content

Commit

Permalink
Use ObjInsArgValue::loose_eq in arg_eq
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Jan 5, 2025
1 parent 705b4ec commit c322175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objdiff-core/src/diff/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ fn arg_eq(
_ => false,
},
ObjInsArg::Arg(l) => match right {
ObjInsArg::Arg(r) => l == r,
ObjInsArg::Arg(r) => l.loose_eq(r),
// If relocations are relaxed, match if left is a constant and right is a reloc
// Useful for instances where the target object is created without relocations
ObjInsArg::Reloc => config.relax_reloc_diffs,
Expand Down

0 comments on commit c322175

Please sign in to comment.