Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index c65dd65ab023e121c8dcfc19bb0789dbc85541e6..985e60ec77e7b7f08ad60f4f58e410d1e902a37d 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -83,9 +83,9 @@ Handle<Code> CodeGenerator::GenerateCode() { |
// Define deoptimization literals for all inlined functions. |
DCHECK_EQ(0u, deoptimization_literals_.size()); |
- for (auto shared_info : info->inlined_functions()) { |
- if (!shared_info.is_identical_to(info->shared_info())) { |
- DefineDeoptimizationLiteral(shared_info); |
+ for (auto& inlined : info->inlined_functions()) { |
+ if (!inlined.shared_info.is_identical_to(info->shared_info())) { |
+ DefineDeoptimizationLiteral(inlined.shared_info); |
} |
} |
inlined_function_count_ = deoptimization_literals_.size(); |