Skip to content

Commit 0692dea

Browse files
committed
Use ObjInsArgValue::loose_eq in arg_eq
1 parent c3e3d17 commit 0692dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objdiff-core/src/diff/code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ fn arg_eq(
259259
_ => false,
260260
},
261261
ObjInsArg::Arg(l) => match right {
262-
ObjInsArg::Arg(r) => l == r,
262+
ObjInsArg::Arg(r) => l.loose_eq(r),
263263
// If relocations are relaxed, match if left is a constant and right is a reloc
264264
// Useful for instances where the target object is created without relocations
265265
ObjInsArg::Reloc => config.relax_reloc_diffs,

0 commit comments

Comments
 (0)