Index: src/mips/lithium-mips.cc |
=================================================================== |
--- src/mips/lithium-mips.cc (revision 11385) |
+++ src/mips/lithium-mips.cc (working copy) |
@@ -1296,6 +1296,7 @@ |
LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { |
ASSERT(instr->value()->representation().IsInteger32()); |
ASSERT(instr->representation().IsInteger32()); |
+ if (instr->HasNoUses()) return NULL; |
LOperand* value = UseRegisterAtStart(instr->value()); |
return DefineAsRegister(new(zone()) LBitNotI(value)); |
} |