[llvm] r315903 - Fix or vs || typo.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 07:01:59 PDT 2017
Author: rksimon
Date: Mon Oct 16 07:01:59 2017
New Revision: 315903
URL: http://llvm.org/viewvc/llvm-project?rev=315903&view=rev
Log:
Fix or vs || typo.
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=315903&r1=315902&r2=315903&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Mon Oct 16 07:01:59 2017
@@ -2366,7 +2366,7 @@ bool X86AsmParser::ParseInstruction(Pars
// Hack: we could have something like
// "lock; cmpxchg16b $1" or "lock\0A\09incl" or "lock/incl"
while (Name.startswith(";") || Name.startswith("\n") ||
- Name.startswith("\t") or Name.startswith("/")) {
+ Name.startswith("\t") || Name.startswith("/")) {
Name = Parser.getTok().getString();
Parser.Lex(); // go to next prefix or instr
}
More information about the llvm-commits
mailing list