| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 95d7cd9ff7d247afebd2642b8962db9b8d1797c7..ce17f25e869745956b74b5deaa3c936d3e5bcc4c 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -896,10 +896,8 @@ int LCodeGen::DefineDeoptimizationLiteral(Handle<Object> literal) {
|
|
|
| void LCodeGen::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
|
| DCHECK_EQ(0, deoptimization_literals_.length());
|
| - const ZoneList<Handle<JSFunction>>* const inlined_closures =
|
| - chunk()->inlined_closures();
|
| - for (int i = 0; i < inlined_closures->length(); ++i) {
|
| - DefineDeoptimizationLiteral(handle(inlined_closures->at(i)->shared()));
|
| + for (auto function : chunk()->inlined_functions()) {
|
| + DefineDeoptimizationLiteral(function);
|
| }
|
| inlined_function_count_ = deoptimization_literals_.length();
|
| }
|
|
|