| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 400f26dd5d772003962a0dd6770d0e7dae047ab6..a16f5ed857cb6b2499b26347b2b4fa93485bbaa1 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -360,7 +360,7 @@ bool LCodeGen::GenerateDeoptJumpTable() {
|
| bool is_lazy_deopt = deopt_jump_table_[i].is_lazy_deopt;
|
| Deoptimizer::BailoutType type =
|
| is_lazy_deopt ? Deoptimizer::LAZY : Deoptimizer::EAGER;
|
| - int id = Deoptimizer::GetDeoptimizationId(entry, type);
|
| + int id = Deoptimizer::GetDeoptimizationId(isolate(), entry, type);
|
| if (id == Deoptimizer::kNotDeoptimizationEntry) {
|
| Comment(";;; jump table entry %d.", i);
|
| } else {
|
| @@ -897,7 +897,8 @@ void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
|
| Handle<DeoptimizationInputData> data =
|
| factory()->NewDeoptimizationInputData(length, TENURED);
|
|
|
| - Handle<ByteArray> translations = translations_.CreateByteArray();
|
| + Handle<ByteArray> translations =
|
| + translations_.CreateByteArray(isolate()->factory());
|
| data->SetTranslationByteArray(*translations);
|
| data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_));
|
|
|
|
|