From 39dcc0f39252cbe4c827019a1760088069a395d3 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Thu, 10 Oct 2019 23:48:56 +0000 Subject: [PATCH] Fix compilation warning due to typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374479 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/JITLink/MachO_arm64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/JITLink/MachO_arm64.cpp b/lib/ExecutionEngine/JITLink/MachO_arm64.cpp index db7cde8282e..ab33631ceeb 100644 --- a/lib/ExecutionEngine/JITLink/MachO_arm64.cpp +++ b/lib/ExecutionEngine/JITLink/MachO_arm64.cpp @@ -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( "Invalid relocation pair: Addend + " + getMachOARM64RelocationKindName(*Kind)); -- 2.40.0