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