Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 625751561ac49cecb349a7a98724fa224bf5ca0a..2a66957fbfc4f7720a7d2e60ecd397c78a9abe1f 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -592,7 +592,7 @@ void LCodeGen::RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
++jsframe_count; |
} |
} |
- Translation translation(&translations_, frame_count, jsframe_count); |
+ Translation translation(&translations_, frame_count, jsframe_count, zone()); |
WriteTranslation(environment, &translation); |
int deoptimization_index = deoptimizations_.length(); |
int pc_offset = masm()->pc_offset(); |
@@ -724,7 +724,7 @@ void LCodeGen::RecordSafepoint( |
for (int i = 0; i < operands->length(); i++) { |
LOperand* pointer = operands->at(i); |
if (pointer->IsStackSlot()) { |
- safepoint.DefinePointerSlot(pointer->index()); |
+ safepoint.DefinePointerSlot(pointer->index(), zone()); |
} else if (pointer->IsRegister() && (kind & Safepoint::kWithRegisters)) { |
safepoint.DefinePointerRegister(ToRegister(pointer)); |
} |