Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 11385) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1285,6 +1285,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); |