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