Index: src/compiler/control-builders.cc |
diff --git a/src/compiler/control-builders.cc b/src/compiler/control-builders.cc |
index d6b8b4050b84f5aad493cbc55a357dbfd4c5a3af..b159bb2da797abc761419c8bc4d73124789e7754 100644 |
--- a/src/compiler/control-builders.cc |
+++ b/src/compiler/control-builders.cc |
@@ -91,7 +91,7 @@ void LoopBuilder::ExitLoop(Node** extra_value_to_rename) { |
environment()->PrepareForLoopExit(loop_environment_->GetControlDependency(), |
assigned_); |
if (extra_value_to_rename) { |
- environment()->Pop(); |
+ *extra_value_to_rename = environment()->Pop(); |
} |
} |