From c10098f28be209e90277925e3f983b7e62d1d037 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:06 -0500 Subject: scons: Fix up numerous warnings about name shadowing This patch address the most important name shadowing warnings (as produced when using gcc/clang with -Wshadow). There are many locations where constructor parameters and function parameters shadow local variables, but these are left unchanged. --- src/arch/arm/isa/formats/fp.isa | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/arch/arm/isa') diff --git a/src/arch/arm/isa/formats/fp.isa b/src/arch/arm/isa/formats/fp.isa index 0cb27d7f1..6d779e541 100644 --- a/src/arch/arm/isa/formats/fp.isa +++ b/src/arch/arm/isa/formats/fp.isa @@ -1570,13 +1570,6 @@ let {{ } case 0x6: if (b == 0xc) { - const IntRegIndex vd = - (IntRegIndex)(2 * (bits(machInst, 15, 12) | - (bits(machInst, 22) << 4))); - const IntRegIndex vm = - (IntRegIndex)(2 * (bits(machInst, 3, 0) | - (bits(machInst, 5) << 4))); - unsigned size = bits(machInst, 19, 18); return decodeNeonSTwoShiftUSReg( size, machInst, vd, vm, 8 << size); } else { @@ -1866,7 +1859,6 @@ let {{ case 0x3: const bool up = (bits(machInst, 23) == 1); const uint32_t imm = bits(machInst, 7, 0) << 2; - RegIndex vd; if (single) { vd = (RegIndex)(uint32_t)((bits(machInst, 15, 12) << 1) | (bits(machInst, 22))); -- cgit v1.2.3