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