| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index eccf09d2dd7fe6a2a7722500defd06a53f615433..466c7c4cff73c78c84e04bec4c38456f0dd88837 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -928,17 +928,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();
|
| }
|
|
|
|
|