From 71a5ee37a5c34b5de383c93a57424040d24a82ba Mon Sep 17 00:00:00 2001 From: Veljko Mihailovic Date: Wed, 25 May 2016 10:13:18 -0400 Subject: [MIPS] Rename variable mips to mips32 Renaming variable mips to mips32 since mips is already defined by the toolchain. BUG=Compile error in Chromium R=mark@chromium.org Review URL: https://codereview.chromium.org/2006393004 . Patch from Veljko Mihailovic . --- src/processor/microdump.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/processor') diff --git a/src/processor/microdump.cc b/src/processor/microdump.cc index 06211e60..45bc8784 100644 --- a/src/processor/microdump.cc +++ b/src/processor/microdump.cc @@ -133,9 +133,9 @@ void MicrodumpContext::SetContextX86(MDRawContextX86* x86) { valid_ = true; } -void MicrodumpContext::SetContextMIPS(MDRawContextMIPS* mips) { +void MicrodumpContext::SetContextMIPS(MDRawContextMIPS* mips32) { DumpContext::SetContextFlags(MD_CONTEXT_MIPS); - DumpContext::SetContextMIPS(mips); + DumpContext::SetContextMIPS(mips32); valid_ = true; } @@ -330,9 +330,9 @@ Microdump::Microdump(const string& contents) << std::endl; continue; } - MDRawContextMIPS* mips = new MDRawContextMIPS(); - memcpy(mips, &cpu_state_raw[0], cpu_state_raw.size()); - context_->SetContextMIPS(mips); + MDRawContextMIPS* mips32 = new MDRawContextMIPS(); + memcpy(mips32, &cpu_state_raw[0], cpu_state_raw.size()); + context_->SetContextMIPS(mips32); } else if (strcmp(arch.c_str(), kMips64Architecture) == 0) { if (cpu_state_raw.size() != sizeof(MDRawContextMIPS)) { std::cerr << "Malformed CPU context. Got " << cpu_state_raw.size() -- cgit v1.2.1