Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index ca093ec6512e6d0b4337d91efc8725270cb06286..7966e19fe35e1143a5812c57f9cb5204d0b653fb 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -536,7 +536,8 @@ void LCodeGen::RegisterEnvironmentForDeoptimization( |
++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(); |
@@ -683,7 +684,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)); |
} |