Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index a449d8efc82614188c9cbcc3109c3cd2912aeab7..96fa71954e59a75591937e448f7e9f7da79d2317 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2374,6 +2374,9 @@ LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { |
LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { |
+ HEnvironment* env = current_block_->last_environment(); |
+ instr->ReplayEnvironment(env); |
+ |
// There are no real uses of a captured object. |
return NULL; |
} |