[llvm] r374479 - Fix compilation warning due to typo.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 16:48:56 PDT 2019
Author: hliao
Date: Thu Oct 10 16:48:56 2019
New Revision: 374479
URL: http://llvm.org/viewvc/llvm-project?rev=374479&view=rev
Log:
Fix compilation warning due to typo.
Modified:
llvm/trunk/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JITLink/MachO_arm64.cpp?rev=374479&r1=374478&r2=374479&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JITLink/MachO_arm64.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JITLink/MachO_arm64.cpp Thu Oct 10 16:48:56 2019
@@ -263,7 +263,7 @@ private:
if (!Kind)
return Kind.takeError();
- if (*Kind != Branch26 & *Kind != Page21 && *Kind != PageOffset12)
+ if (*Kind != Branch26 && *Kind != Page21 && *Kind != PageOffset12)
return make_error<JITLinkError>(
"Invalid relocation pair: Addend + " +
getMachOARM64RelocationKindName(*Kind));
More information about the llvm-commits
mailing list