From 8c037de0b2c8a4afac4ef24613f69d0ca7889db7 Mon Sep 17 00:00:00 2001 From: "gordana.cmiljanovic@imgtec.com" Date: Fri, 13 Sep 2013 16:32:58 +0000 Subject: Fix for a clang error which is introduced by change r1212. BUG=none TEST=build Review URL: https://breakpad.appspot.com/630002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1213 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/stackwalker_mips.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/processor/stackwalker_mips.cc b/src/processor/stackwalker_mips.cc index 74f7f57d..e8b073ce 100644 --- a/src/processor/stackwalker_mips.cc +++ b/src/processor/stackwalker_mips.cc @@ -139,8 +139,8 @@ StackFrameMIPS* StackwalkerMIPS::GetCallerByCFIFrameInfo( // value from caller_registers. frame->context.iregs[i] = caller_entry->second; frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); - } else if ((i >= INDEX_MIPS_REG_S0 && i <= INDEX_MIPS_REG_S7 || - i > INDEX_MIPS_REG_GP && i < INDEX_MIPS_REG_RA) && + } else if (((i >= INDEX_MIPS_REG_S0 && i <= INDEX_MIPS_REG_S7) || + (i > INDEX_MIPS_REG_GP && i < INDEX_MIPS_REG_RA)) && (last_frame->context_validity & StackFrameMIPS::RegisterValidFlag(i))) { // If the STACK CFI data doesn't mention some callee-save register, and -- cgit v1.2.1