| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index d3cec622be7305faed9b13d02756dc3ad6846d9c..53d0e60224e89ab5511eaf7a1e23c135dbeff449 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -972,17 +972,10 @@ int LCodeGen::DefineDeoptimizationLiteral(Handle<Object> literal) {
|
|
|
|
|
| void LCodeGen::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
|
| - DCHECK(deoptimization_literals_.length() == 0);
|
| -
|
| - const ZoneList<Handle<JSFunction> >* inlined_closures =
|
| - chunk()->inlined_closures();
|
| -
|
| - for (int i = 0, length = inlined_closures->length();
|
| - i < length;
|
| - i++) {
|
| - DefineDeoptimizationLiteral(inlined_closures->at(i));
|
| + DCHECK_EQ(0, deoptimization_literals_.length());
|
| + for (auto function : chunk()->inlined_functions()) {
|
| + DefineDeoptimizationLiteral(function);
|
| }
|
| -
|
| inlined_function_count_ = deoptimization_literals_.length();
|
| }
|
|
|
|
|