| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 3d167ef8fe2557e17e21b56374c46333f481a045..b9bd30bb161bbcec73252dfcb9c7c5c1f216e1d7 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -308,7 +308,7 @@ bool LCodeGen::GenerateJumpTable() {
|
| bool is_lazy_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 {
|
| @@ -808,7 +808,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_));
|
|
|
|
|