aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker_mips.cc
diff options
context:
space:
mode:
authorgordana.cmiljanovic@imgtec.com <gordana.cmiljanovic@imgtec.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-13 16:32:58 +0000
committergordana.cmiljanovic@imgtec.com <gordana.cmiljanovic@imgtec.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-13 16:32:58 +0000
commit8c037de0b2c8a4afac4ef24613f69d0ca7889db7 (patch)
treecf20fc49a53ea426096aa11580a8093a93f55f74 /src/processor/stackwalker_mips.cc
parentAdding support for mips. (diff)
downloadbreakpad-8c037de0b2c8a4afac4ef24613f69d0ca7889db7.tar.xz
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
Diffstat (limited to 'src/processor/stackwalker_mips.cc')
-rw-r--r--src/processor/stackwalker_mips.cc4
1 files changed, 2 insertions, 2 deletions
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