Skip to content

Commit fb8a084

Browse files
committed
[X86] Fix equality operator ambiguity
1 parent d54516b commit fb8a084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86WinEHUnwindV2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ bool X86WinEHUnwindV2::runOnMachineFunction(MachineFunction &MF) {
232232
MF, Mode,
233233
"The epilog is popping more registers than the prolog pushed");
234234
if (PushedRegs[PushedRegs.size() - PoppedRegCount] !=
235-
MI.getOperand(0).getReg())
235+
MI.getOperand(0).getReg().id())
236236
return rejectCurrentFunctionInternalError(
237237
MF, Mode,
238238
"The epilog is popping a registers in "

0 commit comments

Comments
 (0)