| Index: src/x87/lithium-codegen-x87.cc
|
| diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
|
| index 00a6f4e4a7e890656ca57ed82f4059f7350ebe26..611ed891038f5f8fe9a6a52389ee2c8b8b063359 100644
|
| --- a/src/x87/lithium-codegen-x87.cc
|
| +++ b/src/x87/lithium-codegen-x87.cc
|
| @@ -1262,17 +1262,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();
|
| }
|
|
|
|
|