Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 2c4799e632e026f02d5afbcbec13c8c13a44e664..2fdbb9858bb435feb98d78826ca45388d9076cc7 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2564,6 +2564,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; |
} |