From b7b00c3b01de1328984ae9ffc97e7f5e34c08bd2 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Tue, 2 Feb 2010 12:37:59 -0800 Subject: [PATCH] Bug 543803 - Fix unused-variable warnings in Release ARM builds (r=rreitmai) --HG-- extra : convert_revision : de2889d43d17c9ccc659c509dcb0c1749111d336 --- js/src/nanojit/NativeARM.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/src/nanojit/NativeARM.cpp b/js/src/nanojit/NativeARM.cpp index 1d67fe224729..de40989d4061 100644 --- a/js/src/nanojit/NativeARM.cpp +++ b/js/src/nanojit/NativeARM.cpp @@ -2634,13 +2634,12 @@ Assembler::asm_load32(LInsp ins) void Assembler::asm_cmov(LInsp ins) { - LOpcode op = ins->opcode(); LIns* condval = ins->oprnd1(); LIns* iftrue = ins->oprnd2(); LIns* iffalse = ins->oprnd3(); NanoAssert(condval->isCmp()); - NanoAssert(op == LIR_cmov && iftrue->isI32() && iffalse->isI32()); + NanoAssert(ins->opcode() == LIR_cmov && iftrue->isI32() && iffalse->isI32()); const Register rr = deprecated_prepResultReg(ins, GpRegs);