Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index a850ecf5fcb0e785351b5166eb638160c629e5a9..00db5291bd429909d0c0970b1dfd45827ad99747 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.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); |
} |