Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 5e2180a1b9cf94139508590b173cf16169e59b52..9183e03dd094fe403a02b4183f861f6f72a0786a 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1189,7 +1189,7 @@ LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) { |
LInstruction* LChunkBuilder::DoContext(HContext* instr) { |
- return DefineAsRegister(new LContext); |
+ return instr->HasNoUses() ? NULL : DefineAsRegister(new LContext); |
} |