Fix unused local variable warning in NativePPC.cpp (r=me)

--HG--
extra : convert_revision : e58ebcf59d3eb1a75a4ad41df32db2794732284b
This commit is contained in:
Edwin Smith 2010-01-27 10:17:19 -05:00
parent cc53ad5c4e
commit 1cd47593e7

View File

@ -1186,14 +1186,13 @@ namespace nanojit
}
void Assembler::asm_cmov(LIns *ins) {
LOpcode op = ins->opcode();
LIns* cond = ins->oprnd1();
LIns* iftrue = ins->oprnd2();
LIns* iffalse = ins->oprnd3();
NanoAssert(cond->isCmp());
NanoAssert((op == LIR_cmov && iftrue->isI32() && iffalse->isI32()) ||
(op == LIR_qcmov && iftrue->isI64() && iffalse->isI64()));
NanoAssert((ins->opcode() == LIR_cmov && iftrue->isI32() && iffalse->isI32()) ||
(ins->opcode() == LIR_qcmov && iftrue->isI64() && iffalse->isI64()));
// fixme: we could handle fpu registers here, too, since we're just branching
Register rr = deprecated_prepResultReg(ins, GpRegs);