From 7639dfea51c67f87ea1874314f960a01395d4777 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 22 Apr 2017 15:05:31 +0100 Subject: [PATCH] coprocessor: Use && instead of & with boolean arguments --- src/frontend/translate/translate_arm/coprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/translate/translate_arm/coprocessor.cpp b/src/frontend/translate/translate_arm/coprocessor.cpp index 3227f55b..60728e69 100644 --- a/src/frontend/translate/translate_arm/coprocessor.cpp +++ b/src/frontend/translate/translate_arm/coprocessor.cpp @@ -33,7 +33,7 @@ bool ArmTranslatorVisitor::arm_LDC(Cond cond, bool p, bool u, bool d, bool w, Re const bool index = p; const bool add = u; const bool wback = w; - const bool has_option = !p & !w & u; + const bool has_option = !p && !w && u; // LDC{2}{L} , , [, #+/-]{!} // LDC{2}{L} , , [], #+/- @@ -130,7 +130,7 @@ bool ArmTranslatorVisitor::arm_STC(Cond cond, bool p, bool u, bool d, bool w, Re const bool index = p; const bool add = u; const bool wback = w; - const bool has_option = !p & !w & u; + const bool has_option = !p && !w && u; // STC{2}{L} , , [, #+/-]{!} // STC{2}{L} , , [], #+/-