Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index e8f96e42dc06c019690fd13b1d475413e6f72312..3ad86cfed3b9ab3d6a4e775df4e33364052e2fdb 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -365,7 +365,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 { |
@@ -915,7 +915,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_)); |