| Index: src/crankshaft/lithium-codegen.cc
|
| diff --git a/src/crankshaft/lithium-codegen.cc b/src/crankshaft/lithium-codegen.cc
|
| index e03380560dd69374b10480086f846ed05b8b4428..2d165601d7068114143d18f5e4fc64e539629a4a 100644
|
| --- a/src/crankshaft/lithium-codegen.cc
|
| +++ b/src/crankshaft/lithium-codegen.cc
|
| @@ -384,8 +384,8 @@ void LCodeGenBase::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
|
| for (CompilationInfo::InlinedFunctionHolder& inlined :
|
| info()->inlined_functions()) {
|
| if (!inlined.shared_info.is_identical_to(info()->shared_info())) {
|
| - inlined.RegisterInlinedFunctionId(deoptimization_literals_.length());
|
| - DefineDeoptimizationLiteral(inlined.shared_info);
|
| + int index = DefineDeoptimizationLiteral(inlined.shared_info);
|
| + inlined.RegisterInlinedFunctionId(index);
|
| }
|
| }
|
| inlined_function_count_ = deoptimization_literals_.length();
|
|
|