Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 0cd5f1fce9e31fe24a7e7f8ddc85069365ee06e0..205781b9d9f51da066e0a06ca9ca7fa52ab6d94a 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -383,7 +383,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 { |
@@ -953,7 +953,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_)); |