Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 878ace3be1e631a75bc31ff5670852348ef581cc..5c831eb6ddce70b532923f9147e6399e5c49b6d7 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -215,9 +215,7 @@ void CodeGenerator::PopulateDeoptimizationData(Handle<Code> code_object) { |
for (int i = 0; i < deopt_count; i++) { |
FrameStateDescriptor* descriptor = code()->GetDeoptimizationEntry(i); |
data->SetAstId(i, descriptor->bailout_id()); |
- CHECK_NE(NULL, deoptimization_states_[i]); |
- data->SetTranslationIndex( |
- i, Smi::FromInt(deoptimization_states_[i]->translation_id_)); |
+ data->SetTranslationIndex(i, Smi::FromInt(0)); |
data->SetArgumentsStackHeight(i, Smi::FromInt(0)); |
data->SetPc(i, Smi::FromInt(-1)); |
} |