Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 12a951bffeadbfb4f95a40365a5445b5e049080e..1da7689bf2fd4cb7cb46c7300b59a8c5b2d73a80 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1201,7 +1201,7 @@ LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) { |
LInstruction* LChunkBuilder::DoContext(HContext* instr) { |
- return DefineAsRegister(new LContext); |
+ return instr->HasNoUses() ? NULL : DefineAsRegister(new LContext); |
} |