Skip to content

Commit db4070b

Browse files
committed
Fix var name on assert
1 parent c9b9a20 commit db4070b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ExpandPseudo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ bool X86ExpandPseudo::expandMI(MachineBasicBlock &MBB,
353353
TII->get(IsX64 ? X86::TAILJMPr64_REX : X86::TAILJMPr64))
354354
.add(JumpTarget);
355355
} else {
356-
assert(!IsWin64 && "Win64 requires REX for indirect jumps.");
356+
assert(!IsX64 && "Win64 and UEFI64 require REX for indirect jumps.");
357357
JumpTarget.setIsKill();
358358
BuildMI(MBB, MBBI, DL, TII->get(X86::TAILJMPr))
359359
.add(JumpTarget);

0 commit comments

Comments
 (0)